A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
Execute docker-compose file:
$ docker-compose -f docker-mymoney-postgres.yml up -d
Create and manage the database in docker image by pgadmin (admin web portal)
- Access the local url => http://localhost:15432/browser/
- Login with the credentials described in docker-compose
- Add new server with connection data:
- Hostname/address: db
- Username: postgres
- Passowrd: credential described in docker-compose
Create the database in docker image by terminal
$ docker exec mymoney_backend_db_1 psql -c "CREATE DATABASE mymoney" -U postgres
Execute the migrations
$ npx prisma migrate dev
Create .env file by .env_example in projetct
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Nest is MIT licensed.