Skip to content

ariusvi/react_tattoostudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ract Frontend: Old Ink

OldInkBanner

Welcome to the Old Ink's frontend api documentation. This api recreates a fictional website of a tatto studio. This project is the frontend of backend_services project.


Contenido 📂

  1. About the project 🎨
  2. Stack ⚓
  3. Local installation 💻
  4. Roots 🔗
  5. Bugs 🐜
  6. Cool detail 🎉
  7. Future features ✨
  8. Author ✒️
  9. Acknowledgements 🙏

About the project 🎨

This project is the frontend part of a fictional tattoo studio. React has been mainly used. This project connects to a MySQL database from project backend_services.

On the Home page we find a small description of the tattoo studio, as well as the registration buttons (which redirects the user to the registration area) and the services button (which redirects the user to the services area that are performed in the tattoo studio. tattoos) At the top, we find a header that is the navigation bar with the buttons: Home, Login and Register, which redirect the user to the different pages of the website.

In the Login area, the user can log in through a form. Once the user has been logged in, the login header changes to the user's name and if clicked redirects to said user's profile. In the profile, the user can edit the data: name, surname and email. Additionally, you can access the appointment area, through the appointment button.

On the appointments page, the user can view and delete their upcoming appointments as well as create a new appointment.

Stack ⚓

Local installation 💻

Backend

  1. Clone the repository $ git clone https://github.com/ariusvi/backend_services
  2. Install dependencies $ npm install --y
  3. Start Express on the server $ npm run dev
  4. Run migrations $ npm run run-migrations

Frontend

  1. Clone the repository $ git clone https://github.com/ariusvi/react_tattoostudio
  2. Install dependencies $ npm install --y
  3. Start Express on the server $ npm run dev

Users credentials

  • User
id: "1",
first_name: "user",
last_name: "user_apellido",
email: "[email protected]",
password: 123456,
role: "user"
  • Admin
id: "2",
first_name: "admin",
last_name: "admin_apellido",
email: "[email protected]",
password: 123456,
role: "admin"
  • Super_admin
id: "3",
first_name: "super_admin",
last_name: "superadmin_apellido",
email: "[email protected]",
password: 123456,
role: "admin"

Roots 🔗

  1. Home

  1. Login

  1. Register

  1. Services

  1. Profile

  1. Appointments

  1. super_admin Profile

  1. superadmin access

Bugs 🐜

  • There isn't time restriction at Appointments, user only choose a date
  • Services are choosen by ID, not by name.

Cool detail 🎉

Loading gif created with ldrs library

Future features ✨

  • Date and time restrictions when create an appointment
  • Ability to modify service and date in an already scheduled appointment
  • Allow super admin to create and modify services
  • Responsive design
  • Deploy backend and frontend
  • Design a footer

Author ✒️

Acknowledgements 🙏

Thanks to my classmates:
Pedro for his patience and help, especially to confirm that I understand things.
Marina and Marta for her moral support, joint laughter and tears, as well as her help.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published