/burger-restaurant-app

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

Primary LanguageCSS

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