Welcome to the Game Marketplace project! This platform is designed to sell and showcase various games, similar to platforms like Epic Games. The project uses Next.js for the frontend, MongoDB for data storage, and Java with Spring Boot for the backend.
Explore the live demo: Game Marketplace Demo
-
Game Listing:
- Browse a diverse collection of games available for purchase.
- Each game has detailed information, including description, price, and user ratings.
-
User Authentication:
- Register an account or log in to an existing account to access personalized features.
- User authentication ensures secure and personalized interactions.
-
Shopping Cart:
- Add games to your shopping cart for easy checkout.
- Review and modify your cart before making a purchase.
-
Order History:
- View a history of your past game purchases.
- Keep track of your gaming experiences over time.
-
Admin Dashboard:
- Admin users have access to a dashboard for managing games, users, and orders.
- Add new games, update information, and monitor user activity.
-
Next.js Framework:
- The frontend is developed using Next.js, providing a fast and dynamic user experience.
- Server-side rendering ensures optimal performance.
-
MongoDB Database:
- Game data, user information, and order history are stored in MongoDB for flexibility and scalability.
- A NoSQL database allows for efficient and structured data storage.
-
Java with Spring Boot Backend:
- The backend is powered by Java with the Spring Boot framework.
- RESTful APIs handle communication between the frontend and the database.
Before you begin, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/HThanh-how/arcelity
-
Navigate to the project directory:
cd arcelity -
Install frontend dependencies:
cd client npm install -
Run the frontend development server:
npm run dev
The frontend should now be accessible at http://localhost:3000.
-
Switch to the backend directory:
cd ../server -
Install backend dependencies:
./mvnw clean install
Note: On Windows, use
mvnw.cmdinstead. -
Start the Spring Boot application:
./mvnw spring-boot:run
The backend should now be running at http://localhost:8080.
-
MongoDB Configuration:
- Ensure that MongoDB is running locally or update the MongoDB connection settings in the
application.propertiesfile located in thebackend/src/main/resourcesdirectory.
- Ensure that MongoDB is running locally or update the MongoDB connection settings in the
-
Accessing the Application:
- Open your web browser and go to http://localhost:3000 to interact with the Game Marketplace.
-
Admin Dashboard:
- To access the admin dashboard, use the provided admin credentials in the application or create a new admin account.
Congratulations! You've successfully set up the E-commerce Game Marketplace project. Feel free to explore the features and customize the platform based on your requirements.
For any issues or further assistance, refer to the project's documentation or community forums. Enjoy your Game Marketplace!