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

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.