This is an API for managing schedule built with Node.js and Express.js.
Make sure you have the following installed on your machine
-
Clone the repository:
git clone <repository-url>
-
Change to the project directory:
cd schedule -
Install the dependencies:
npm install
To start the API server, run the following command:
npm startThe server will start running on http://localhost:5002.
- GET /schedule/:id - Get a certain schedule by barberId
- POST /schedule - Create a day in the schedule.
Make sure to replace :id with the actual ID of the appointment in the above endpoints.
Contributions are welcome! If you find any issues or want to enhance the functionality of the API, please submit a pull request.