A barbershop system, where we can register a new barbershop, where this barbershop can register as many customers as they want, having a list of haircuts and a list of customers' calendars
Inside ordemsystemfront exist a folder name assets, which has screenshots of the application
# Clone Repository
$ git clone https://github.com/dandankarai/fullstack.git
# Build service
$ cd ordemsystemback
yarn install
yarn dev
Access API at http://localhost:3333/
# Build service
$ cd ordemsystemfront
yarn install
yarn dev
Access web at http://localhost:3333/
$ create .env.local file and paste
NEXT_PUBLIC_API_URL = 'http://localhost:3333'
Endpoint | Descrição |
---|---|
USERS -------- | |
GET /me | Return data info about user. |
PUT /users | Update info about user. |
POST /userSession | Register a new user. |
POST /users | Update main infos about user, like email and name |
HAIRCUTS --------- | |
POST/haircut | Create a new haircut |
GET /haircuts | Return the list os haircuts registered |
GET /haircut/detail | Return detail about haircut user |
GET /haircut/check | Return if user has a subscription(premium) |
GET /haircut/count | Returns the number of cuts. |
SCHEDULE -------- | |
GET /schedule | Return the list of schedules |
POST /schedule | Create a new schedule |