View the Project on GitHub cse110-sp26-group08/one-arm-slot-machine-2
A fully-featured pirate-themed slot machine website built with the MERN stack. Features multiple themed machines, leaderboards, social competition, and engaging gameplay mechanics informed by user research and psychology.
Before running the application, you MUST download the .env file:
.env file.gitignore for securityWithout the .env file, the application will not run properly.
# Install dependencies
npm i
# Terminal 1: Start the backend server
npm run dev:backend
# Terminal 2: Start the frontend development server
npm run dev:frontend
The application will be available at http://localhost:5173 (frontend) with the backend running on the configured port.
npm run dev # Start frontend dev server
npm run dev:frontend # Frontend development only
npm run dev:backend # Backend development only
npm run build # Build frontend for production
npm run lint # Run ESLint and TypeScript checks
npm run test # Run all tests
npm run test:unit # Run unit tests
npm run typecheck # Run TypeScript type checking
npm run start:backend # Start backend server (production)
/backend - Express backend services and controllers
/frontend - React components and pages
/tests - Unit and integration tests
/plan - Project planning and research documents
/assets - Static assets and images
The project includes: