Backend API service for Hoodat mobile app.
- Install Docker Desktop
- Clone the repo
git clone https://github.com/messiah-hoodat/hoodat-api.git
- Add required environment variables to
.env
(ask Eric for the variables) - Build the image
cd hoodat-api
docker build -t hoodat-api .
- Run the image as a container
docker run --rm -it -p 8000:8000/tcp hoodat-api:latest
- Install NodeJS
- Clone the repo
git clone https://github.com/messiah-hoodat/hoodat-api.git
- Install dependencies
cd hoodat-api
npm install
- Add required environment variables to
.env
(ask Eric for the variables) - Start the server
npm run start
The API is self-documenting using tsoa and Swagger. The documentation can be viewed here.