An open API service indexing awesome lists of open source software.

https://github.com/tiffanyvoorhees2500/smartorder

Group Project - Full stack application to combine individual orders into one bulk order
https://github.com/tiffanyvoorhees2500/smartorder

express jwt-authentication neondb nodejs postgresql react sequelize wip

Last synced: 3 months ago
JSON representation

Group Project - Full stack application to combine individual orders into one bulk order

Awesome Lists containing this project

README

          

## Smart Order by Heather Gibb, Derek Christensen, and Tiffany Voorhees
Heather's Quote: “Life is to be enjoyed, not just endured.” — President Gordon B. Hinckley

Derek's Quote: “Faith is being sure of what we hope for and certain of what we do not see.” - Dieter F. Uchtdorf

Tiffany's Quote: “The Lord loves effort. He could not love us perfectly if He did not require us to stretch and learn.” — Elder Dieter F. Uchtdorf

# Overview
SmartOrder is a full-stack web application designed to simplify bulk order management for users and administrators. The main goal is to allow users to login, view dynamic prices sheets and place an order that will be included in the bulk order. Admins can view current and past orders see the bulk order information, and adjust pricing dynamically.

# Stack Includes
- Frontend: React
- Backend: Node.js + Express.js
- Database: PostgreSQL (hosted via NeonDB)
- ORM: Sequelize
- Auth: JWT-based authentication

# Render Backend URL
https://smartorder-zlab.onrender.com

# Vercel Frontend URL
https://smart-order-gold.vercel.app/

# NeonDB URL
https://console.neon.tech/app/projects/noisy-unit-41350121

# Getting Started
1. Clone the repository
2. Backend Setup
```
cd backend
npm install
```
```
/backend/env (ask team lead for credentials if not using your own DB)

DATABASE_URL=postgresql://:@/
JWT_SECRET=supersecretkey
PORT=5000
```
```
// start backend in dev mode
npm run dev
```
3. Frontend Setup
```
cd ../frontend
npm install
npm run start
```