Coder Social home page Coder Social logo

gamera-be's Introduction

Environment Config

  • Java 17
  • SpringBoot 2.7.8
  • Gradle
  • Docker compose
  • PostgreSQL
  • Lombok
  • Mapstruct
  • Spring Data JPA
  • Spring Security
  • H2 in-memory DB
  • Flyway
  • Makefile
  • Swagger
  • ElasticSearch + Kibana + Logstash
  • RabbitMQ

Database

PostgreSQL is being applied here, and we are also using Docker Compose to make local development convenient

  • When running for the first time, initialise the Docker dependencies using the below make target:
    make app_local_compose_up
  • Afterwards, Docker dependencies can be started using the below target:
    make app_local_compose_start
  • To stop the Docker dependencies and keep data, run the below target:
    make app_local_compose_stop
  • To completely tear-down the Docker dependencies, run:
    make app_local_compose_down

Building

  • Run the below command under the root directory
    make app_local_build 

Unit Testing

  • Run unit tests by using the command shown
    make app_local_test

Running

  • Have PostgresSQL up and running by docker-compose before running the application
  • Run the application by typing below command:
    make app_local_run

Additional Information

  • Makefile is used for central command management, if any new command needs to be used in the future, please add it to Makefile with alias
  • As we are using Flyway for database migration, if there is any change for database needed please add new script under db/migration folder to make it done, don't modify existing scripts!!!

gamera-be's People

Contributors

additivemenu avatar huhang716 avatar jenniezhu29 avatar kelozheng avatar l-deng avatar lawrenceliao avatar nancylyn98 avatar rorobinh98 avatar shaunchang avatar ueovl avatar weited 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.