Chingu Voyage Project: A website that allows people to share resources they may not have a use for and also allow people who need resources to start a campaign, similar to gofundme (but no money) but for resources.
Live Site: https://crowdsourced-chingu.herokuapp.com
git clone git@github.com:chingu-voyages/bears-project-13.git
# first install server side
cd bears-project-13
npm install
This should install all scripts in /package.json, /server/package.json, and /client/package.json
Express, Node, Sass, GraphQL, React, React-router
After you install all packages then to run dev
npm run start-dev
This should start the express server and react server.
This project is setup to be deployed to Heroku. I usually deploy to Heroku using the website not the command line.
It has some scripts specifically for Heroku such as
npm run heroku-postbuild
NOTE: this deletes the client folder
This script builds the react (client) side and moves the build to the root of the project in a folder called 'build' and finally it deletes the whole client folder to save space in heroku (cause we do not need the unbuilt react app in deployment).
Some Resources we used: