Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlenon7/dalegg-spring
🎮 MVC project with Spring using Riot API
https://github.com/jlenon7/dalegg-spring
Last synced: 9 days ago
JSON representation
🎮 MVC project with Spring using Riot API
- Host: GitHub
- URL: https://github.com/jlenon7/dalegg-spring
- Owner: jlenon7
- Created: 2021-07-02T13:23:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-02T15:16:42.000Z (over 3 years ago)
- Last Synced: 2024-10-05T23:41:33.302Z (3 months ago)
- Language: Java
- Size: 3.35 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dale.gg 🎮
> MVC project with Spring using Riot API
[![GitHub followers](https://img.shields.io/github/followers/jlenon7.svg?style=social&label=Follow&maxAge=2592000)](https://github.com/jlenon7?tab=followers)
[![GitHub stars](https://img.shields.io/github/stars/jlenon7/dalegg-spring.svg?style=social&label=Star&maxAge=2592000)](https://github.com/secjs/base/stargazers/)
The intention behind this repository is to test `Spring MVC` projects consuming Riot API.
## IMPORTANT
> You need to create an account in Riot developer portal to get an API Key and set it inside of RiotApiServiceImpl
[Click here to create you account in Riot API!](https://developer.riotgames.com/)
## Running project local
> First run an instance of PostgreSQL, you can use this command to run with docker.
```bash
docker run --name postgresql -e POSTGRES_PASSWORD=root -p 5433:5432 -d postgres
```> Then build the project using Maven
```bash
mvn clean package
```> Then run the .jar file created by Maven
```bash
java -jar target/dale-gg-1.0.0-SNAPSHOT.jar
```---
## Running project with docker-compose
> First change the url of the database inside application.properties to dalegg-db instead of localhost
> Then run the project using docker-compose
```bash
docker-compose up -d --build
```---
## Project home example
---
Made with 🖤 by [jlenon7](https://github.com/jlenon7) :wave: