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

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.