Skip to content

AlexandraBonetCanela/Pet-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐾 Pet App (Vue Frontend)

🎯 Overview

Welcome to the Pet App, a Vue 3-based frontend for managing virtual pets. This application provides an interactive interface for users to create, feed, play, and track their pets, seamlessly integrating with the Pet API. This application uses both Options api and Composition api.

πŸ“Œ Related Projects

There is also a Hexagonal Architecture backend for this project that you can find here.

If you're interested in the MVC version of the backend, check it out here.

πŸš€ Key Features

βœ… Vue 3 with Options API – Structured and easy-to-maintain frontend.
βœ… REST API Integration – Communicates with the Pet API for full pet management.
βœ… Vuex / Pinia (Optional) – Manages global state efficiently.
βœ… SCSS Support – Organized and reusable styles.
βœ… Responsive Design – Works on desktop and mobile devices.
βœ… Axios for API Requests – Handles HTTP requests efficiently.


πŸ›  Technologies

  • Vue 3
  • Vite
  • Axios
  • SCSS

πŸ“¦ Dependencies

  • Vue 3 (Core framework)
  • Axios (HTTP client)
  • Pinia (State management - if used)
  • Lodash (Optional utility functions)

πŸ“– Project Structure

πŸ“¦ src
│── πŸ“‚ assets          # Static assets (images, icons, etc.)
│── πŸ“‚ components      # Reusable Vue components
│── πŸ“‚ views          # Main pages/views
│── πŸ“‚ store          # Vuex/Pinia state management (if used)
│── πŸ“‚ services       # API calls (Axios)
│── πŸ“œ App.vue        # Root component
│── πŸ“œ main.js        # Entry file


## To run the application

```code
  cd Pet-webapp
  npm install
  npm run dev

This frontend relies on the Pet API as the backend. To configure the API URL, update the .env file:

VITE_API_BASE_URL=http://localhost:8080/api

Snapshots

Main Page

Captura de pantalla 2025-03-07 a les 9 13 51

Login Page

Captura de pantalla 2025-03-07 a les 9 13 34

About

Web Application to manage pets that feeds information from the Pet-api.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published