This the backend for a time-booking web app which can be used to provide bookable time frames to an audience.

liontix b6eab3fb60 Updated README 8 сар өмнө
bin 2a99879ab1 auth added 11 сар өмнө
public b6ad4da86d tiny final adjustment 11 сар өмнө
routes 07ae4a82c0 added expected participant count to appointment 9 сар өмнө
schemas 07ae4a82c0 added expected participant count to appointment 9 сар өмнө
views 6e87e6e986 appointment creator added times array 10 сар өмнө
.dockerignore 80a99de25e dockerized 8 сар өмнө
.env-example copy 6e87e6e986 appointment creator added times array 10 сар өмнө
.gitignore f204cb9bcb changed package.json 9 сар өмнө
Dockerfile 80a99de25e dockerized 8 сар өмнө
README.md b6eab3fb60 Updated README 8 сар өмнө
app.js f204cb9bcb changed package.json 9 сар өмнө
eslint.config.mjs e0fabfe0ad cleanup 11 сар өмнө
mongodb.sh e0fabfe0ad cleanup 11 сар өмнө
package.json f204cb9bcb changed package.json 9 сар өмнө
passport.js e0fabfe0ad cleanup 11 сар өмнө
utils.js 428afef39a added custom input validation 10 сар өмнө
vercel.json 5874499eb8 Update vercel.json 9 сар өмнө

README.md

Scheduler-Backend

This backend is written in NodeJS with ExpressJS as the framework. It serves a REST API, which is used for the frontend part of this project. MongoDB is used for storing the data. Passwords are stored as BCrypt hashes and authentication is handled with JSON Web Tokens using PassportJS.

Usage

Rename .env-example to .env and set the secrets. Then install all the required dependencies using npm install. After that the project can be started using npm run dev.