Coder Social home page Coder Social logo

wearefrancis / iataaa Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.51 MB

Web plateforme to manage game

License: Other

Java 53.07% Gherkin 25.78% Shell 11.94% Batchfile 9.22%
microservice docker docker-compose rest-api management-game architecture springboot springboot2 cucumber orika mysql maven swagger

iataaa's Introduction

IAtaaa

Iataaa Server is web platform to manage artificial intelligence game. The name IAtaaa stands for the IA (Intelligence Artificielle in french) acronym and the Yatta japanese word for "We did it".

Getting Started

Requirements

  • Docker
  • Docker-Compose

Indication

Use ./mvnw command instead of mvn if you haven't Maven.

Deploy the project on your computer

Execute in the root directory to build maven project and deploy in docker container:

mvn clean package 
docker-compose up -d

List of deployed services :

Service name adress
aiPlayer database 172.16.0.15:3306
aiPlayer 172.16.0.20:8080

Develop mode

To work on aiPlayer-service

Execute in the root directory to run a mysql database:

cd docker-compose-dev
docker-compose -f docker-compose.aiplayer.yml up -d

To run aiPlayer-service, you should add environment variable :

Environment variable Value
DB_IP 172.16.0.15
DB_PORT 3306
DB_DATABASE iataaa
DB_USER iataaa
DB_PASSWORD password

For example, you can run aiPlayer-service like that:

mvn spring-boot:run -DDB_IP=172.16.0.15 -DDB_PORT=3306 -DDB_DATABASE=iataaa -DDB_USER=iataaa -DDB_PASSWORD=password

Open http://localhost:8080 in your browser

Swagger documentation

The api documentation accessible at http://localhost:8080/swagger-ui.html

Architecture

We test a micro-service architecture. Actually we have only one service.

Aiplayer-service

You can manage artificial intelligence informations like its ip, port, difficulty etc...

Contributor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.