Skip to content

Bassma-Algeria/sadaqa-server

Repository files navigation

Sadaqa REST API

This is the REST API server of Sadaqa platform build in top nestjs. Following a modular monolithic architecture where each module is either following a simple CRUD architecture or a clean architecture depending on his complexity

Available Scripts

  • Running all the tests

npm test
  • Checking test coverage

npm run test:coverage
  • start the dev server in watch mode

npm run start:dev
  • start the normal dev server

npm run start
  • start the prod server

npm run build && npm run start:prod
  • run the dev server in Docker

first create the containers and run them

docker-compose up

then access the shell of the container of the server app

docker exec -it <SERVER_APP_CONTAINER_ID> sh

and finally set up the database

npx prisma migrate dev && npx prisma db seed

About

The REST api of Sadaqa website

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages