Skip to content

GabrielSilva15/API-PW1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

OBS: Necessary install Docker(Linux) or Docker Setup(Windows)

Replace the locations where it is: POSTGRES_USER,POSTGRES_PASSWORD, POSTGRES_DB with the values ​​defined in your .env file

To create network:

Execute this comand in terminal(Linux) or Terminal Docker Setup(Windows):

sudo docker network create postgres-network 

To create container:

Execute this comand in terminal(Linux) or Terminal Docker Setup(Windows):

docker run --name projeto --network postgres-network -p 5432:5432 -e POSTGRES_PASSWORD= POSTGRES_PASSWORD -e POSTGRES_USER= POSTGRES_USER -e POSTGRES_DB= POSTGRES_DB -d postgis/postgis

Example .env file

POSTGRES_USER = usuario
POSTGRES_PASSWORD = senha
POSTGRES_HOST = localhost
POSTGRES_PORT = 5432
POSTGRES_DB = banco

Start

To install dependencies:

npm install

To run:

npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors