This project was generated using Nx.
🔎 Smart, Fast and Extensible Build System
You must install Docker & docker-compose to run monitoring and databases services You will also need npm
- Install:
npm i
- Run:
npm start
If you have any trouble during the install, do not hesitate to contact me on microsoft teams
You can also run each service individually by using the following commands:
docker-compose up -d
nx serve api
nx serve
- Cloudy app frontend
- Cloudy app backend
- Minio admin interface (file storage service)
- Grafana monitoring
- Prometheus monitoring
A default admin access is generated by the backend service If you need a normal user, you must create an account
email: [email protected]
password: admin
You can access minio interface with these credentials:
username: minio
password: minio123
You can access grafana monitoring with:
username: admin
password: admin
You can ignore the password change
You can access mysql with:
username: root
password: root
Grafana is a web interface to see all monitored data by minio. After logged in, you can follow the steps below to setup the minio dashboard:
- Configuration > Data Sources > Add data source > Select Prometheus
- URL: http://localhost:9090 > Access: Browser > Save & Test
- Dashboard > Browse > import > ID: 13502
If you need ios mobile version, you will need macos environment with xcode installed If you run android version, you need to install android studio
- First build the frontend project:
nx build client
- Then generate the mobile compatibility:
nx generate @nxtend/capacitor:capacitor-project --project client
- Add the compatibility wanted:
nx run client:add:ios
nx run client:add:android
- You can now start the app:
nx run client:open:ios
nx run client:open:android
Run ng build my-app
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test client
to execute the unit tests via Jest.
Run nx affected:test
to execute the unit tests affected by a change.
Run ng e2e client
to execute the end-to-end tests via Cypress.
Run nx affected:e2e
to execute the end-to-end tests affected by a change.
Run nx graph
to see a diagram of the dependencies of your projects.
Visit the Nx Documentation to learn more.