Skip to content

Web application for managing consumption sheets for hospital rooms, made with Nestjs, Angular, Tailwind and TDD practices.

License

Notifications You must be signed in to change notification settings

Rebjai/chg-consumption-sheet

Repository files navigation

CHG Comsumption Sheet

This project serves as the backend for CHG_APP, designed to monitor the consumption of hospital patients. It supports multiple users, roles, and permissions to ensure security and data integrity are maintained.

The technology stack has been intentionally kept minimal to reduce complexity and potential points of failure.

Made with:

Requirements

  • node 16.14
  • postgres

First steps

make a .env file (check .env.production and env.development for an example)

cp .env.development .env

install all dependencies

npm run install

if it is the first time running it you should migrate the database schema and seed the database

npm run migrate
npm run seed:run #(make file src/common/db/seed-data/product-list.csv)

Using Docker for development

We provide a docker-compose file to make development easier.

docker-compose up -d

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Stay in touch

License

chg-consumption-sheet is licensed under Apache 2

About

Web application for managing consumption sheets for hospital rooms, made with Nestjs, Angular, Tailwind and TDD practices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published