Skip to content

Mister-ecks/REST-APIS-WITH-Postgresql

Repository files navigation

To run your server you have to create your .env file and have the following variables inside of it and set it to the value of your choice.

PORT=

DB_NAME=

DB_USER=

DB_PASSWORD=

DB_HOST=

ACCESS_TOKEN_SECRET=

After this, use the "npm run dev" to run your server. This would show you confirmation messages on the performance of the app. You would also need a pgadmin GUI that comes with Postgresql to create a database.

You can also test the endpoints using postman

Finally you can run a end-to-end tests using npm test

About

RESTful API Using Postgresql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published