Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)


GitHub language count

Repository size

License

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: