Seunkola / burger-restaurant-app

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:CSS 62.3%Language:JavaScript 35.7%Language:HTML 1.9%