Skip to content

RIDEAT/curi-backend

Repository files navigation

Backend for Curi

Installation

  1. Clone the repo

    git clone https://github.com/RIDEAT/curi-backend.git
  2. Move to it

    cd curi_backend
  3. Make jwt-secret in src/main/resources/application-jwt.properties

    echo 'jwt.secret = your own secret key' >> application-jwt.properties
  4. Make src/main/resources/serviceAccountkey.json to connect firebase

  5. Local Build

    ./gradlew build
  6. Docker Build

    // For mac
    docker build . -t springbootapp --platform linux/amd64
    // For window
    docker build . -t springbootapp 
  7. Docker Run

    docker run springbootapp

Followings are options that you can add!

  • Port option(-p)
    Connect between local network and container inner network.

  • Volume option(-v)
    Enable inner container to use local files

Reference

Here is the website that I referred to when building

About

Spring framework for curi-backend

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •