The currently used API is available here
Check out the API documentation here
Clone the repository and install the dependencies
git clone https://github.com/Olah-Barbershop/API-legacy.git
cd API
pnpm installAdd your MongoDB url and (optionally) API port to a .env file
DATABASE_URL=[your database url]
PORT=[port for the API]You'll need an SSL certificate. Add your certificate to server.cert and you private key to server.key.
Start the server
node server.js