Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (24 loc) · 1.18 KB

File metadata and controls

29 lines (24 loc) · 1.18 KB

The LEGACY REST API used for the Oláh Barbershop app and website

The currently used API is available here

License: GPL v3   GitHub Release   GitHub Actions Workflow Status

Documentation

Check out the API documentation here

Instructions

Clone the repository and install the dependencies

git clone https://github.com/Olah-Barbershop/API-legacy.git
cd API
pnpm install

Add 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