10000 GitHub - thiagoromendes/my-money-backend
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

thiagoromendes/my-money-backend

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation Develop Environment

$ 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

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Support

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.

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0