-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Sabo edited this page Jul 28, 2024
·
10 revisions
Make sure you have NX installed globally. Otherwise, you will always have to use npx nx to execute commands in the workspace.
npm i -g nx
We also recommend installing the NX-Console Extension. It allows you to easily navigate through all the commands in our project, so you don't have to memorize all the commands or search through the docs.
Make sure you have installed pnpm:
npm install -g pnpm
If you want to send HTTP-Requests, we recommend using tools such as Postman or Thunder Client
Check, if you have installed go:
go version
If you don't have Go installed, try the following commands:
wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
Open .bashrc
and add the following lines to the end of the file:
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
To install all dependencies, run:
pnpm install
In order to
docker compose up
prettier . --write --tab-width 4
You can view a graph of all tasks and dependencies in the workspace:
nx graph
nx run backend:tidy
nx run backend:build
nx run backend:test
nx run backend:serve
nx run backend:lint
nx run frontend:build
nx run frontend:test
nx run frontend:serve
nx run frontend:lint