Healium - Backend
- Built with Nest.JS
- Fastify as base node framework
- Helmet to secure the HTTP(s) requests
- Fluent as ORM
- Firebase as Database
- Swagger as API docs
- Completely automated pipeline using Github Actions for CI/CD
- Deployed using Google App Engine
The application was deployed without minimum scaling, so it could take a while to spin up the first server (Just give it a few seconds =) )
Deployed Backend and Swagger: Check this link
$ yarn
-
Generate and include your Service Account JSON file.
-
Copy the
.env.example
file to.env
and fill out your environment variables. Then, run the following commands:
# Run the server in development mode
$ npm run start:dev
or
# Run the server in development mode
$ yarn start:dev
- Don't forget to change the DATABASE_FIREBASE_SERVICE_ACCOUNT_PATH env variable, with the name and location of your service account
DATABASE_FIREBASE_SERVICE_ACCOUNT_PATH=./my-service-account.json
# Run all tests
$ npm run test
or
$ yarn test