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

Olah-Barbershop/API-legacy

Repository files navigation

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

About

The API used for our app and website

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •