Skip to content

diegofisi/food_review-Nestjs-TypeORM-Postgres

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.

Environment

rename .env.template to .env

Docker

-open docker desktop
-open project terminal and put the next code
docker compose up -d
-if you want see the database in the browser just go to http://localhost:8080/browser/
-for login you just need PGADMIN_DEFAULT_PASSWORD and PGADMIN_DEFAULT_EMAIL for connection you need:

host: DB_NAME (is the name of the container of the postgres image) in this case not is localhost
maintenance database: postgres
port: in this case is image default port "5432"
username: in this case is "postgres"
password: in this case is "your-db-password"

example:
host: your-db-name
port: 5432
maintenance database: postgres
username: postgres
password: your-db-password

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

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.

Stay in touch

License

Nest is MIT licensed.

About

API for publish food review or generic review. This API is in a development environment, soon it will be completed for production.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published