Welcome to the Snowee API repository. This project serves as the backend API for Snowee Game Corp, developed using Spring Boot and Java.
- Project Overview
- Features
- Getting Started
- Configuration
- Testing
- Deployment
- Contributing
- License
- Contact
The Snowee API is designed to provide robust backend services for Snowee Game Corp's applications. Built with Spring Boot, it ensures scalable and efficient handling of game-related data and operations.
- RESTful Endpoints: Provides a comprehensive set of APIs for game functionalities.
- Database Integration: Utilizes PostgreSQL for data persistence.
- Security: Implements authentication and authorization mechanisms.
- Docker Support: Contains Docker configurations for containerized deployment.
Follow these instructions to set up and run the project locally.
Ensure you have the following installed:
- Java 8
- Maven
- PostgreSQL
- Docker (optional, for containerized deployment)
-
Clone the Repository:
git clone https://github.com/Erick-N-B-Araujo/snowee-api.git cd snowee-api
-
Configure the Database:
- Create a PostgreSQL database named
snowee_db
. - Update the database configuration in
src/main/resources/application.properties
with your PostgreSQL credentials.
- Create a PostgreSQL database named
-
Build the Application:
mvn clean install
To start the application:
java -jar target/snowee-api-0.0.1-SNAPSHOT.jar
The API will be accessible at
http://localhost:8080/
.Configuration files are located in the
src/main/resources
directory. Adjust settings as needed for your development or production environment.To run tests:
mvn test
The project includes a
Dockerfile
anddocker-compose.yml
for containerized deployment. To build and run the Docker container:docker-compose up --build
Ensure you have Docker installed and running on your system.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that your code adheres to the project's coding standards and includes appropriate tests.
This project is licensed under the Apache-2.0 License. See the LICENSE file for details.