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

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.