Giter VIP home page Giter VIP logo

webbudget-backend's Introduction

build

webBudget back-end

Welcome to the back-end application for webBudget project!

The project is based on:

  • Kotlin 1.8
  • Spring Boot 3
  • Postgres 15
  • Testcontainers

Project setup

If you are familiar with Java projects using maven, there is nothing too different here. The project is using Gradle as build tool and Kotlin will compile using it.

Quick note before start: your docker environment is running? Since we use testcontainers to run the tests and also do develop things in the project, is required to have a docker isntance running.

Clone the project, and:

gradlew clean build

This will clean (older builds), run Detekt, run some automated tests, and compile the project. If everything goes well, you will see a message of build success at the end of the process.

To just lint the project and check if the code is compliant with our Detekt rules, run: gradlew detekt. At the first run it should fix some simple problems, at the second run only the ones that require your manual intervention should be reported.

If you plan to develop in the project, after cloning it, go in the root of the project, run this command:

docker compose -p web-budget up

It should start some required services to run the project locally and after that you just need to import the project in your favorite IDE and start coding.

Since this is a Kotlin project is highly recommended to use IntelliJ IDEA for development, if you don't have it, please click here to download.

FAQ

General questions about the project:

  • Why separate front-end and back-end? Basically because this will make people more confortable to develop inside the project, not everyone are able to work in big monolith full of files and with trick configurations to deal with. Doing like this will help beginners searching for a cool project to start with some contributions.
  • How can I start contributing? You can start by looking to the project board here!
  • Why not stay with Java? For me Kotlin is more complete in terms of functional programming if compared to Java. This makes it better? Ofcourse not, but is not possible to ignore the fact that Kotlin has a much more interesting toolset if compared to his "old brother".

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.