项目作者: collierscott

项目描述 :
An ecommerce application using ReactJS, Strapi, GraphQL, MongoDB, and Stripe
高级语言: JavaScript
项目地址: git://github.com/collierscott/react-ecommerce.git
创建时间: 2018-10-18T18:12:29Z
项目社区:https://github.com/collierscott/react-ecommerce

开源协议:

下载


React eCommerce

A very simple e-commerce example using ReactJS, Strapi, MongoDB, Stripe and SendGrid.

There are a lot of improvements that can be done (e.g. move items in cart to its own component). Also, I had never used
Gastalt before so I experimented with it.

For a free development MongoDB, try MLab

For a good email service, try SendGrid.

Admittedly, this documentation is lacking. Checkout Strapi Documentation for more info.

Installation

Server

Client

  • In the client/src folder, rename env.example.js to env.js and enter your Stripe API public key.
  • In client folder, run npm i then npm start.
  • You can checkout Strapi Documentation for more info.

Database

Content Types

type: Brand
name: string
description: text
relationship: Brand belongs to many Brews

type: Brew
name: string
description: text
price: number:decimal
realtionship: Brand has many Brews

type: orders
address: string
postalCode: string
city: string
brews: JSON
amount: number:decimal