This repo contains the backend code for the app Cheap Aussie, made for UTS Advanced Internet Programming, Assignment 3. Built with Node.js, Express and sweat.
Run the following command to run the backend code:
# install modules
$ npm install
# or if you want to use yarn
$ yarn install
# In terminal
$ npm start
#API Docs
NOTE: API Url: http://localhost:5000/ or whatever port you specified in your env
- Request
- Body (application/json) { "firstName":"John", "lastName":"Doe", "email":"john@example.com", "password":"111" }
- Request
- Body (application/json) { "email":"john@example.com", "password":"111" }
- Request
- Headers Authorization : USER TOKEN
- Request
- Headers Authorization : USER TOKEN
- Body { "firstName":"John12", "lastName":"Doe12", "email":"john12@example.com" }
- Request
- Headers Authorization : USER TOKEN
- Add Items API
- Add OAuth2