Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.44 KB

README.md

File metadata and controls

66 lines (46 loc) · 1.44 KB

build_and_upload

Made by the team at Scalereal, this is a base project to quickly spin up a Micronaut application built with opinions of Scalereal style of working.

Local Development Setup

Clone this repo by running https://github.com/scalereal/wheel

Install Java v11

sdk install java 11

for more reference visit (https://sdkman.io/usage)

Build app

./gradlew build

you'll get error for env vars, Export env

 export JWT_GENERATOR_SIGNATURE_SECRET={your_secret}

to generate secret use openssl, run below command to get your secret

openssl rand -base64 172 | tr -d '\n'

Create database

make create-db;

Drop database

make drop-db;

Reset database

make reset-db;

Run server(migration will automatically run)

./gradlew api:run

🎉 All done, we completed our setup visit http://localhost:9000/api/health

Features