Initial commit: Spin The Wheel - Full-stack wheel spinner application
parents
Showing
.gitignore
0 → 100644
README.md
0 → 100644
backend/.env.example
0 → 100644
backend/.gitignore
0 → 100644
backend/package-lock.json
0 → 100644
backend/package.json
0 → 100644
backend/prisma/schema.prisma
0 → 100644
backend/src/controllers/entryController.ts
0 → 100644
backend/src/controllers/resultController.ts
0 → 100644
backend/src/controllers/spinController.ts
0 → 100644
backend/src/controllers/wheelController.ts
0 → 100644
backend/src/index.ts
0 → 100644
backend/src/routes/entryRoutes.ts
0 → 100644
backend/src/routes/resultRoutes.ts
0 → 100644
backend/src/routes/spinRoutes.ts
0 → 100644
backend/src/routes/wheelRoutes.ts
0 → 100644
backend/src/services/entryProcessor.ts
0 → 100644
backend/src/services/prisma.ts
0 → 100644
backend/src/services/randomService.ts
0 → 100644
backend/src/types/index.ts
0 → 100644
backend/tsconfig.json
0 → 100644
frontend/.env.example
0 → 100644
frontend/.gitignore
0 → 100644
frontend/index.html
0 → 100644
frontend/package-lock.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
frontend/package.json
0 → 100644
frontend/src/App.css
0 → 100644
frontend/src/App.tsx
0 → 100644
frontend/src/index.css
0 → 100644
frontend/src/main.tsx
0 → 100644
frontend/src/services/api.ts
0 → 100644
frontend/src/store/wheelStore.ts
0 → 100644
frontend/src/types/index.ts
0 → 100644
frontend/src/utils/wheelPhysics.ts
0 → 100644
frontend/tsconfig.json
0 → 100644
frontend/tsconfig.node.json
0 → 100644
frontend/vite.config.ts
0 → 100644
package-lock.json
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "spin-the-wheel", | ||
| "version": "1.0.0", | ||
| "description": "A full-stack wheel spinner application with support for up to 10,000 entries", | ||
| "private": true, | ||
| "scripts": { | ||
| "install:all": "npm install && npm install --prefix frontend && npm install --prefix backend", | ||
| "install:frontend": "npm install --prefix frontend", | ||
| "install:backend": "npm install --prefix backend", | ||
| "db:generate": "npm run db:generate --prefix backend", | ||
| "db:migrate": "npm run db:migrate --prefix backend", | ||
| "db:studio": "npm run db:studio --prefix backend", | ||
| "dev": "npx concurrently -n \"backend,frontend\" -c \"blue,green\" \"cd backend && npm run dev\" \"cd frontend && npm run dev\"", | ||
| "dev:frontend": "npm run dev --prefix frontend", | ||
| "dev:backend": "npm run dev --prefix backend", | ||
| "build": "npm run build --prefix backend && npm run build --prefix frontend", | ||
| "build:frontend": "npm run build --prefix frontend", | ||
| "build:backend": "npm run build --prefix backend", | ||
| "setup": "npm run install:all && npm run db:generate && npm run db:migrate", | ||
| "start": "npx concurrently -n \"backend,frontend\" -c \"blue,green\" \"cd backend && npm run start\" \"cd frontend && npm run preview\"" | ||
| }, | ||
| "devDependencies": { | ||
| "concurrently": "^8.2.2" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18.0.0", | ||
| "npm": ">=9.0.0" | ||
| } | ||
| } | ||
Please
register
or
sign in
to comment