Giter Club home page Giter Club logo

galaxy-raiders-api's Introduction

Galaxy Raiders

Template for the project of the course MAC0218 - Programming Techniques II at University of São Paulo (@USP).

Development

Galaxy Raiders is built in Kotlin, a modern programming language for the JVM (Java Virtual Machine) supporting object-oriented programming and functional programming. It uses Gradle as the official build tool.

To develop Galaxy Raiders, please install and use docker.

NOTE: This repo has gradle wrappers to ensure developers use the same version of gradle in every environment. However, using gradle's docker image already guarantees that. Therefore, commands below can use the gradle CLI directly.

Please also install pre-commit in your development environment to automatically format code and to detect bed smells before making new commits. By default, this integration also uses docker.

Linting

This project uses ktlint and detekt for static code analysis.

If you installed pre-commit, to execute the linters, run:

pre-commit run --all-files

Alternatively, to execute the linters manually, run:

docker compose --profile dev run --rm linter

Compilation

The compilation of all classes and the generation of a runnable self-contained JAR is made "behind the scenes" by docker.

To build the development images, run:

docker compose --profile dev build

To build the production images, run:

docker compose --profile prod build

Tests

All tests in the project are developed using JUnit 5.

To execute all tests (with live reload), run:

docker compose --profile dev up tester

Execution

To execute the project in development mode (with live reload), run:

docker compose --profile dev up demo --build

To execute the project in production mode, run:

docker compose --profile prod up game --build

Other tasks

To find available gradle tasks, run:

docker compose --profile dev run --rm demo gradle --no-daemon tasks

To execute any task, run:

docker compose --profile dev run --rm demo gradle --no-daemon {task}

galaxy-raiders-api's People

Contributors

renatocf avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.