Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 839 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 839 Bytes

burger-restaurant-app

A restaurant app built with react.js and express.js server that handles payment using stripe api

Installation

  • Register at Stripe and Setup a Payment Account to access the Dashboard
  • Find your API Keys (test_, live_)
  • Replace frontend API keys: app/src/constants/
  • Replace backend API keys: app/backend/constants/

Frontend

  • npm install
  • npm start
  • visit http://localhost:3000/

Backend

  • cd backend
  • npm install
  • node index.js
  • visit http://localhost:8080/

Usage

When using it in production, you have to use a real credit card. Otherwise, in development mode, you can use a Stripe's test credit cards