Skip to content

corentingosselin/cloudy-solution

Repository files navigation

Cloudy

This project was generated using Nx.

🔎 Smart, Fast and Extensible Build System

Quick Start & Documentation

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

Useful links

Administration

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

Setup grafana dashboard

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:https://localhost:9090 > Access: Browser > Save & Test
  • Dashboard > Browse > import > ID: 13502

Build Mobile version of cloudy

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

Build

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.

Running unit tests

Run ng test client to execute the unit tests via Jest.

Run nx affected:test to execute the unit tests affected by a change.

Running end-to-end tests

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.

Understand your workspace

Run nx graph to see a diagram of the dependencies of your projects.

Further help

Visit the Nx Documentation to learn more.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published