Car Wars is a digital card game where players can enjoy a classic-style card battle experience against an AI opponent. Built using the MERN stack, the app features a clean and user-friendly design, as well as a login/sign-up system.
- User Authentication: The application includes user registration and login functionalities to personalize the experience.
- 30 Unique Cards The application has a pool of 30 unique cards stored in a Mongo Database
- AI Opponent
- Clean Design
- Dockerization: The application is fully containerized using Docker.
You can download the application here: Car Wars GitHub page. Click on the Code button and choose the Download ZIP option. After downloading unzip it.
Or alternatively clone the repository: git clone https://github.com/CodecoolGlobal/freestyle-mern-project-react-mecsbalint.git
- Docker Desktop: You can download from here: Docker Desktop. You have to sign up to use the Docker Desktop app.
- Install and Run Docker Desktop: Download and run the installation file and follow the steps. After installation run the Docker Desktop application.
- Start the Application: Run the
docker-start.batbatch file from the application's root folder. - Access the Application: Open a web browser and go to http://localhost:5173 to access the frontend.
- To Stop the application: Run the
docker-stop.batbatch file from the application's root folder.
- Node.js Download
- MongoDB Atlas Account
- Set Up MongoDB Atlas database
- Install dependencies and Run the Express.js Backend
- Open a terminal and navigate to the
\serverfolder - Run the
npm installcommand (install dependencies) - Run the
npm run devcommand (populate database and run the backend application)
- Open a terminal and navigate to the
- Install dependencies and Run the React Frontend
- Open a terminal and navigate to the
\client\carCardfolder - Run the
npm installcommand (install dependencies) - Run the
npm run devcommand (run the frontend application)
- Open a terminal and navigate to the
- Access the Application
- Open a web browser and go to http://localhost:5173 to access the frontend
Thanks to all the contributors!
See contributors
