https://github.com/brunoliratm/ludus-gamestore-api
Ludus is not just a game store, it's a gateway to endless adventures and thrilling experiences. Whether you're a casual gamer or a hardcore enthusiast, Ludus has something for everyone.
https://github.com/brunoliratm/ludus-gamestore-api
api java jdbc restful-api spring
Last synced: about 2 months ago
JSON representation
Ludus is not just a game store, it's a gateway to endless adventures and thrilling experiences. Whether you're a casual gamer or a hardcore enthusiast, Ludus has something for everyone.
- Host: GitHub
- URL: https://github.com/brunoliratm/ludus-gamestore-api
- Owner: brunoliratm
- License: mit
- Created: 2024-03-29T02:19:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-07T21:24:37.000Z (2 months ago)
- Last Synced: 2025-03-07T22:25:50.200Z (2 months ago)
- Topics: api, java, jdbc, restful-api, spring
- Language: CSS
- Homepage:
- Size: 17.9 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Ludus Game Store API
In Progress
[](https://spring.io/projects/spring-boot)
[](https://www.oracle.com/java/)
[](LICENSE)
[](http://localhost:8080/swagger-ui.html)
[](https://git.io/typing-svg)
Ludus is not just a game store, it's a gateway to endless adventures and thrilling experiences. Whether you're a casual gamer or a hardcore enthusiast, Ludus has something for everyone.
## 📋 Table of Contents
- [📌 Overview](#-overview)
- [✨ Features](#-features)
- [🚀 Getting Started](#-getting-started)
- [📊 API Endpoints](#-api-endpoints)
- [🔧 Technologies](#-technologies)
- [👥 Credits](#-credits)
- [🤝 Contributing](#-contributing)
- [📜 License](#-license)## 📌 Overview
Ludus Game Store API is a RESTful backend service that powers the Ludus Game Store platform. It provides a comprehensive set of endpoints for game management, user authentication, and purchase processing, allowing developers to integrate game store functionality into their applications.
## ✨ Features
- **Game Management**: Browse, search, add, update, and delete games in the store
- **User Authentication**: Register, login, and manage user profiles securely
- **Purchase Processing**: Seamless game purchase experience with multiple payment methods
- **Categories & Filtering**: Organize games by genre, platform, release year, and price
- **Reviews & Ratings**: Allow users to leave reviews and ratings for games
- **Wishlists**: Create and manage game wishlists for future purchases## 🚀 Getting Started
### Prerequisites
- Java 21 or above
- Apache Maven
- IDE (IntelliJ IDEA, Eclipse, VS Code, etc.)### Installation
1. Clone this repository to your local machine:
```bash
git clone https://github.com/brunoliratm/Ludus-GameStore-Api.git
cd Ludus-GameStore-Api
```2. Build the project:
```bash
mvn clean install
```3. Run the application:
```bash
java -jar ./target/ludus-2.0.0.jar
```4. Access the API at `http://localhost:8080/`
5. Explore the API documentation with Swagger UI: `http://localhost:8080/swagger-ui.html`> [!NOTE]
> You may need to modify the database configuration in `application.properties` to match your environment.## 📊 API Endpoints
The API provides the following main endpoints:
- **Games**
- `GET /api/games`: Get all games
- `GET /api/games/{id}`: Get game by ID
- `POST /api/games`: Add a new game
- `PUT /api/games/{id}`: Update a game
- `DELETE /api/games/{id}`: Delete a game- **Users**
- `POST /api/users`: Register a new user
- `GET /api/users/{cpf}`: Get user by CPF
- `PUT /api/users/{cpf}`: Update user information
- `DELETE /api/users/{cpf}`: Delete user- **Purchases**
- `GET /api/purchases`: Get all purchases
- `GET /api/purchases/{id}`: Get purchase by ID
- `POST /api/purchases`: Create a new purchase
- `GET /api/purchases/user/{cpf}`: Get purchases by user## 🔧 Technologies
- **Spring Boot**: Framework for creating stand-alone, production-grade Spring applications
- **Spring Data JPA**: Simplifies data access layer implementation
- **MySQL**: Relational database management system for production
- **Swagger/OpenAPI**: API documentation
- **Lombok**: Reduces boilerplate code
- **Maven**: Dependency management and build tool## 👥 Credits
|
BrunoMagno
|PauloAraujo
|
| --- | --- |## 🤝 Contributing
We welcome contributions from the open-source community. To contribute:
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/feature`)
3. Commit your changes (`git commit -m 'Add some feature'`)
4. Push to the branch (`git push origin feature/feature`)
5. Open a Pull RequestPlease make sure your code follows the project's coding standards and includes appropriate tests.
## 📜 License
This project is licensed under the [MIT License](LICENSE).