/bips-backend

Bips back-end

Primary LanguageJavaScript

Earn credits, consume products and services just searching in our app.

Links: DEMO APP | API

About The Project

This project developed for HACKATON CCR organized by Shawee.

Built with

API Endpoints

PARTNERS
(GET) https://apibips.herokuapp.com/partners/
(GET) https://apibips.herokuapp.com/partners/:id
(POST) https://apibips.herokuapp.com/partners/
(PATCH) https://apibips.herokuapp.com/partners/:id
(DELETE) https://apibips.herokuapp.com/partners/:id

CATEGORIES
(GET) https://apibips.herokuapp.com/categories/
(GET) https://apibips.herokuapp.com/categories/:id
(POST) https://apibips.herokuapp.com/categories/
(PATCH) https://apibips.herokuapp.com/categories/:id
(DELETE) https://apibips.herokuapp.com/categories/:id

FEEDBACKS
(GET) https://apibips.herokuapp.com/feedbacks/
(GET) https://apibips.herokuapp.com/feedbacks/:id
(POST) https://apibips.herokuapp.com/feedbacks/
(DELETE) https://apibips.herokuapp.com/feedbacks/:id

Getting started

  1. git clone https://github.com/pcampina/bips-backend
  2. yarn && yarn sequelize db:migrate
  3. create .env for your environment vars
  4. yarn dev

Tip: use Insomnia for your tests :)

.env
DB_USERNAME=your_user
DB_PASSWORD=your_password
DB_DATABASE=your_database
DB_HOSTNAME=your_hostname

License

MIT license.