Skip to content

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

Notifications You must be signed in to change notification settings

Seunkola/burger-restaurant-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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