Creating a simple API using Node.js and PostgreSQL
To run the project, you need to have Node (and npm or yarn) installed:
foo@bar:~$ npm install
foo@bar:~$ npm start
- Base URL
- Available endpoints
- [GET] http://localhost:5000/users
- [GET] http://localhost:5000/users/:id
- [POST] http://localhost:5000/users
- [PUT] http://localhost:5000/users/:id
- [DELETE] http://localhost:5000/users/:id