Skip to content

permafrost06/appointment-booking-api

Repository files navigation

appointment-booking-api

A nodejs backend for managing appointments between teachers and students. This was a demonstration project. I had to implement this without using a backend framework. I ended up creating a custom framework that sort of works like express.

Features

  1. Login via JWT.
  2. Admin account with full access.
  3. Request for account, admin accepts/rejects request.
  4. Teacher and student profile - can be modified.
  5. Logged in user can see all teachers and their appointments.
  6. Students can request appointment, teacher accepts/rejects request.

API Features

  1. Add endpoints.
    1. Specific HTTP method.
    2. Add route.
    3. Add chaining middleware(s).
    4. Add callback.
  2. Named request route parameters.
  3. Get request JSON data.
  4. Send JSON response with code.
  5. Handles CORS.

Instructions

Run npm run start to run project.

Run npm run dev to run project and listen to live changes.

About

A nodejs backend for managing appointments between teachers and students. Uses a custom http framework.

Topics

Resources

Stars

Watchers

Forks