Skip to content

collierscott/react-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An ecommerce application using ReactJS, Strapi, GraphQL, MongoDB, and Stripe

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published