Skip to content

hadominguez/api-proveedores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API-REST of Providers

API-REST of Providers developed with Swagger and PostgreSQL.

Installation

Clone the repository:

git clone https://github.com/hadominguez/api-proveedores.git

To create the database, use the command:

psql -U postgres < sql/proveedor.sql

Install all packages:

npm install

Copy environment file:

cp .env.example .env.dev

Config the file .env.dev:

# Host
HTTP_HOST=localhost
# Port
HTTP_PORT=3000
# Level Log (error, warn, info, http, verbose, debug, silly)
LEVEL_LOG_FILE=info
# Level Log (error, warn, info, http, verbose, debug, silly)
LEVEL_LOG_CONSOLE=error
# Host DB
HOST_DB=localhost
# Port DB
PORT_DB=5432
# Name DB
NAME_DB=database
# USER DB
USER_DB=user
# PASSWORD DB
PASS_DB=pasword

Run the system:

npm run start-dev

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors