Skip to content

This project is a serum bank management system developed with the NestJS framework and TypeORM.

Notifications You must be signed in to change notification settings

LeonardoMeireles55/serum-bank-backend

Repository files navigation

Serum-Bank API

Technologies

TypeScript NestJS SQLite Git Docker Nginx Swagger

Description

This project is a serum bank management system developed with the NestJS framework and TypeORM. The system is responsible for managing and processing serum samples in a database, including the creation, updating, and querying of information about serums and their positions.

Steps to Run the Project:

Environment

Create a .env file in the root of the project following the template below:

Email Configuration

Database Configuration

  • DB_USERNAME=root
  • DB_PASSWORD=root
  • DB_DATABASE=SQL_LITE
  • DB_DATABASE_TEST=SQL_LITE_TEST

Node Environment

  • NODE_ENV=development
  • APP_PORT=3000

JWT Secret

  • JWT_SECRET=secretKey
  • JWT_EXPIRES_IN=1800s

Command to Run Tests

npx jest

Commands to Run the Project

Open the terminal and run these commands:

  • Start the app with docker
docker compose up
  • Without docker:

Dependencies

Open the terminal and run the following command:

npm install
  • Run the NestJS application
npm run start:dev

Default User

Documentation

To view the API documentation, access:

http://localhost:3000/api#/

Front-end Example

About

This project is a serum bank management system developed with the NestJS framework and TypeORM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages