Main repository for CEN4010 Summer B Group 4 project.
This is a RESTFUL API Service to support an online web application bookstore which targets a particular niche in technology.
We implemented our API using Postgres SQL, NODE.JS, and Express.JS.
Steps to completion:
- Install PostgreSQL via https://www.postgresql.org/download/ - the password you use will only be for yourself
- Install Visual Studio Code via https://code.visualstudio.com/download
3) Install node.js' express framework and postgresql-node by calling "npm i express pg" in the terminal - Create workspace for Visual Studio
- Pull code from this repo into that folder
- Create your own config.js by following the format in config.format.js
- Reference https://blog.logrocket.com/nodejs-expressjs-postgresql-crud-rest-api-example/
- Create your queries -> create a new js file 'queries.js' -> follow queries.example.js
- Create your endpoints in index.js