/shopper

An e-commerce site selling sassy comebacks and emotion potions

Primary LanguageJavaScriptMIT LicenseMIT

Shopper

Grace Shopper | Team Project | Apr 2018 | See Live Demo At: https://TeamShopper.HerokuApp.com/

A point of sale website developed by a team of 4 programmers to manage & receive orders.

● Developed with React, Redux, Express, Sequelize, & Passport.

● Created forms that manage products & orders via React & Redux.

● Stored user to product reviews via Express & Sequelize.

● Setup user authentication via Google Oauth & Passport.

#Deployment Instructions

This is for deployment with HerokuApp.

For Database

  • Easy database seeding can be done through npm"postinstall": "npm run seed.

  • If the Deployed Database doesn't Authenticate, you can either set:

    sslmode=require some where within pg package client or postgres's connection

    • or heroku config:set PGSSLMODE=no-verify in Heroku cli for an easy unsecure solution.

For Authentication

  • In development, you can use post install to create secrets.js at the top directory & put env variables there. In deployment, The Config Variables in herokuapp are where you'd put the Process.Env variables instead of the secrets.js file.

Finally everything else can be done with the usual herokuapp instructions but Cory' deploy script or Kate's instructions in the library make it even easier. React-Redux in Webpack only needs to build once on deployment so you just force push it into heroku.