Skip to content

BookYourBarber/bub_schedule_api

Repository files navigation

Schedule API

This is an API for managing schedule built with Node.js and Express.js.

Table of Contents

Getting Started

Prerequisites

Make sure you have the following installed on your machine

Installation

  1. Clone the repository:

    git clone <repository-url>
  2. Change to the project directory:

    cd schedule
  3. Install the dependencies:

    npm install

Usage

Starting the Server

To start the API server, run the following command:

npm start

The server will start running on http://localhost:5002.

API Endpoints

  • 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.

Contributing

Contributions are welcome! If you find any issues or want to enhance the functionality of the API, please submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published