Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 583 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 583 Bytes

sampleposgresql

sample to make a project with nodejs(express) and postgresql

Let's do it

Download the poject and create into the project the file ".env", in this file you must be define the parameters of enviroment.

The list of parameters is:

  • DBHOST = // Host of DB server
  • DBPORT = // Port of DB server
  • DBDATABASE = // name of DB
  • DBUSER = // User to make a conection into the DB
  • DBPASSWORD = // Password to make a conection into the DB
  • PORT = // Port to realese the server in nodejs

Dependencies

  • dotenv
  • express
  • helmet
  • pg-promise