Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.27 KB

File metadata and controls

51 lines (39 loc) · 1.27 KB

Wakeshi

Wake Forest University prediction markets. Trade virtual currency on incoming class statistics using 10+ years of CDS data.

Setup

# 1. Install everything
npm run install:all

# 2. Set up environment
cp .env.example .env
# Fill in MONGO_URI and JWT_SECRET in .env

# 3. Seed the database
npm run seed

# 4. Generate prediction markets
npm run forecast

# 5. Run frontend + backend together
npm run dev

Frontend → http://localhost:3000
Backend → http://localhost:5001

Structure

wakeshi/
├── client/          ← React frontend (Vite)
├── config/          ← MongoDB connection
├── inference/       ← Forecasting model
├── middleware/      ← JWT auth
├── models/          ← Mongoose schemas
├── routes/          ← Express API routes
├── scripts/         ← seed.js, scrape.js
├── server.js        ← Express entry point
└── .env             ← secrets (never commit)

Commands

Command Description
npm run dev Run frontend + backend together
npm run seed Load historical CDS data
npm run forecast Generate prediction markets
npm run scrape Fetch latest CDS PDF from WFU
npm run build Build frontend for production