✨ This workspace has been generated by Nx, Smart Monorepos · Fast CI. ✨
Enhance your Nx experience by installing Nx Console for your favorite editor. Nx Console provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.
Run npm install
to install dependency
copy .sample.env to env
Run npx nx serve api
to start the development api server.
Run npx nx serve auth
to start the development auth server.
Run npx nx serve wallet
to start the development wallet server.
Run npx nx serve transaction
to start the development transaction server.
Run npx nx serve rate
to start the development rate server.
Run multiple server npx nx run-many -t serve api auth wallet transaction rate
You can access it on localhost:3000/api
Run npx nx build api
to build the application. The build artifacts are stored in the output directory (e.g. dist/
or build/
), ready to be deployed.
Run node dist/apps/api/main.js
to run api
Find the documentation here
Ensure you hve docker installed on your machine.
Run npm install
to install dependency.
copy .sample.env to env
Run docker-compose build
to build the docker images.
Run docker-compose up
to spin up docker container
You can access it on localhost:3000/api
To execute tasks with Nx use the following syntax:
npx nx <target> <project> <...options>
You can also run multiple targets:
npx nx run-many -t <target1> <target2>
..or add -p
to filter specific projects
npx nx run-many -t <target1> <target2> -p <proj1> <proj2>
Targets can be defined in the package.json
or projects.json
. Learn more in the docs.
Nx comes with local caching already built-in (check your nx.json
). On CI you might want to go a step further.
Run npx nx graph
to show the graph of the workspace.
It will show tasks that you can run with Nx.