This repository contains examples of MasterCloudApps but in alternative frameworks
Go to https://quarkus.io/get-started/ and follow the steps:
sdk install quarkus 2.9.2.Final
You will need sdkman installed for quarkus if not installed via CLI (https://sdkman.io/install)
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version
It is highly recomendable to install GraalVM with Quarkus beacuse allows:
- Better Performance 📈
- Shorter Boot Time ⚡
- Smaller Packages 📦
- Native Images #️⃣
sdk install java 22.1.0.r17-grl
You can also install quarkus via CLI:
curl -Ls https://sh.jbang.dev | bash -s - trust add https://repo1.maven.org/maven2/io/quarkus/quarkus-cli/
curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force quarkus@quarkusio
Then you can start a project:
quarkus create && cd code-with-quarkus
And run it with:
quarkus dev
java -version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
quarkus version
Quarkus: 2.9.2.Final
First, install npm if not installed before. Nodejs includes npm.
sudo apt install nodejs
Then go to https://docs.nestjs.com/ and follow the steps:
npm install -g @nestjs/cli
Now you can start a project:
nest new project-name && cd project-name
And run it with:
npm run start
Or:
nest start
node --version
v9.0.1
npm --version
9.1.3