Final Project for Operation Spark Its Uber for CSA Subscriptions User can sign up for a season and access/alter subscription information Employees can access delivery routes and packing lists And Farmers can manage it all in one easy to use application
Url: http://ec2-54-200-56-17.us-west-2.compute.amazonaws.com:5555/ SERVER_URL=http://ec2-54-200-56-17.us-west-2.compute.amazonaws.com:5555/
Product Owner: Scrum Master: Development Team: Rodolfo, Rene, John, Santo, Murphy
The idea is to ...
When a user opens the application they will be brought to the homepage where they will see a ...
Located at the top left of every page is a navigation burger menu which contains {x} options that will quickly navigate the user to various features of the application. From left to right are the ...
To sign-up for a CSA subscription the user should navigate to the subscriptions page where they will ...
On the orders page the user can ...
On the events page users can ...
- Cloudinary - Image hosting library
- React-Router - Router library
- PostgreSQL - Database
- Sequelize - ORM
- React - Framework
- Axios - http Client
- TypeScript - javaScript SuperSet
- Node.js - Runtime Environment
- Express - Server
- Husky - Pre-Commit Git Hooks
- eslint - Linter
- Webpack - Module Bundler
- Material UI - Front-end styling library
- Passport/Google OAuth - Authentication
- PGAdmin - Cloud Database
- Github Actions - Continual Integration
- AWS - Deployment
Dev Setup:
- LOCAL_PORT:
- DB_PORT:
- RDS_URL:
- DB_NAME:
- DB_PASSWORD:
- DB_USERNAME:
Google Oauth requires a google cloud account. First create your account and then navigate to the developer console. Go to google API and create a clientID and clientSecret. This goes inside the .env file.
- First fork the repo and clone it to your local machine.
- Collect all env keys
- Run npm install to install all dependencies
- Run npm run dev to start Webpack
- Run npm start to run the server
npm run migrate
npm run build
npm run build:server
npm run pm2:init
(First time only)npm run start:pm2
(Upon subsequent restart)
npm run migrate
npm run dev
npm run start:dev
"migrate": "ts-node src/server/db/seed.ts",
"build": "webpack",
"dev": "webpack --watch",
"build:server": "tsc -p tsconfig-server.json",
"pm2:init": "pm2 start build/server --name server",
"start:pm2": "pm2 restart server",
"start:dev": "npx nodemon src/server/index.ts",
"start": "node build/server",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix"