Using NodeJS, Express, Postgresql this small project aims to illustrate the relationship between API endpoints, the data layer service functions and the actual data base.
Main branch has my own written functions to handle the data layer instead of knex.
The knex branch utilises the knex library to abstract this.
Install instructions
- Pull the repo down
- npm i
- npm run dev
- Ensure postgres is installed on your local machine and is running
- Using postman, hit any of the endpoints with the correct JSON data payloads and you should see responses in postman.