A modern and modular banking backend built with NestJS, TypeORM, and PostgreSQL.
git clone https://github.com/Imanghvs/frog-bank-backend.git
cd frog-bank-backend
npm install
There is a file named .env.example
in the root of the project.
You can make your .env
file similarly.
Login in your PostgreSQL database, create a user with a password, and grant the user all the necessary privileges. Example:
CREATE DATABASE frogbank;
GRANT ALL PRIVILEGES ON DATABASE frogbank TO froguser;
Run the migrations:
npm run migration:run
npm run start:dev
npm run test # Unit tests
npm run test:e2e # End-to-end tests