Skip to content

alfonsojack/caphill-coffee-be

Repository files navigation

CAPHILL COFFEE BE

This app is the back-end server for Caphill-Coffee and you can visit it at deployed backend server

INSTALLATION AND SETUP FOR LOCAL USE

  1. Clone down this repository
  • In your terminal git clone <ssh>
  1. Change into the new directory
  • cd into the repo
  1. Install the dependencies
  • run npm i
  1. Start the server
  • run nodemon server.js

ENDPOINTS

The server is running on a deployed vercel server at deployed backend server

Method Endpoint Request Body Sample Response
GET / n/a [{id: 1, name: “Dazbog Coffee”, img: “exampleurl.com”, address: “1201 E 9th Ave, Denver, CO 80218”, hours: {Monday: “6:00am - 4:00pm”, Tuesday: …}, phoneNumber: “303-837-1275”, website: “https://dazbog.com”, foodProvided: true, dineIn: true, takeOut: true, wheelchairAccessible: true, contactlessPay: true, rating: {thumbsUp: 2, thumbsDown: 1}]
POST /SelectedShop/:id {id: 1, rating: {thumbsUp: #, thumbsDown: #}} {id: 1, rating: {thumbsUp: #, thumbsDown: #}}

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors