Prerequisites
Make sure you have the following installed on your system:
Node.js: Ensure you have Node.js installed. You can download it from here. npm: npm is the package manager for Node.js and is installed automatically with Node.js. Git: You'll need Git for version control. Download it from here.
Clone the repository:
bash Copy code git clone https://github.com/your-username/casino-application.git Navigate to the project directory:
bash
Copy code
cd casino-application
bash Copy code cd backend npm install
bash Copy code cd ../frontend npm install Running the Application
bash Copy code cd backend npm start This will start the backend server on http://localhost:8080.
bash Copy code cd ../frontend npm start This will start the frontend React application on http://localhost:3000.
- Register a New User: Navigate to the registration page and create a new account.
- Login: Use your credentials to log in.
- Manage Profile: Access and update your user profile.
- Play Slot Machine: Go to the slot machine page from your profile and start playing!