Skip to content

rogerpoliver/template-ts-api

Repository files navigation

Template Repository

Functional Requirements
  • Must be possible to register;
  • Must be possible to authenticate;
  • Must be possible to retrieve the profile of a logged-in user;

TBD

Business Rules
  • user must not be able to register with a duplicate email;

TBD

Non-functional Requirements
  • The user's password needs to be encrypted;
  • Application data needs to be persisted in a PostgreSQL database;
  • The user must be identified by a JWT (JSON Web Token);

Running the API

npm ci
docker-compose up
npm run prisma:migrate-prod
npm start:dev

Running tests

For unit testing

npm run test

For end to end testing

npm run test:e2e

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published