Skip to content

Exlint/dashboard

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Jan 24, 2024
Nov 5, 2022
Jun 30, 2023
Feb 7, 2023
Feb 8, 2024
May 20, 2022
Jan 22, 2024
Jan 23, 2024
Apr 24, 2023
May 18, 2022
Jan 24, 2024
Jun 30, 2023
May 18, 2022
May 12, 2023
Apr 25, 2023
May 16, 2022
Mar 27, 2023
May 12, 2023
May 16, 2022
May 16, 2022
Jun 27, 2023
Feb 5, 2023
Feb 2, 2023
Apr 24, 2023
Dec 8, 2023
Apr 24, 2023
Oct 27, 2022
Feb 15, 2023
Feb 8, 2023
Apr 25, 2023
Apr 26, 2023
Apr 25, 2023
May 13, 2023
Feb 17, 2023
Apr 27, 2023
Apr 25, 2023
Nov 27, 2023
Nov 27, 2023
May 12, 2023
May 12, 2023
Apr 26, 2023
Jan 24, 2024
Jun 27, 2023
Feb 8, 2024
Nov 4, 2022
May 18, 2022
Apr 9, 2023
Feb 4, 2023
Nov 4, 2022
Nov 4, 2022
Feb 4, 2023

Repository files navigation

Exlint

Exlint Dashboard

The dashboard for Exlint product, including both frontend and backend applications.

Installation

Install pnpm globally

npm i -g pnpm

Run locally with Docker

Clone the project

git clone git@github.com:Exlint/dashboard.git

Go to the project directory

cd dashboard

In order to run the database with docker please append your /etc/hosts with:

127.0.0.1 mongo_replica_1
127.0.0.1 mongo_replica_2
127.0.0.1 mongo_replica_3

Run the project cluster:

pnpm cluster:start

Push code

When pushing the code, you must follow the commit messages convention. First stage your desired changes and then run git cmt in the root folder. You should be prompted to a commit flow in the terminal, which helps you to write a commit message following the repository convention.

If git cmt exits with an error, make sure you run pnpm install before.

Update the database

When you want to configure the database with more indices, collections and such, you need to sync Prisma with MongoDB

pnpm prisma-push:dev

Stop the cluster

When you want to stop the cluster

pnpm cluster:stop

Restart the cluster

When you want to restart the cluster

pnpm cluster:restart

Clean the database

When you want to clean the database

pnpm db:clean

Backend documentation

When you want look at the backend documentation

cd ./apps/backend
pnpm compodoc

CLI backend documentation

When you want look at the cli-backend documentation

cd ./apps/cli-backend
pnpm compodoc

Backend OpenAPI

When you want look at the backend OpenAPI (Swagger), you need to run the cluster. Then, you can browse to http://localhost:3000/api (replace the port if you use other port)

CLI backend OpenAPI

When you want look at the CLI backend OpenAPI (Swagger), you need to run the application in development mode. Then, you can browse to http://localhost:4000/api (replace the port if you use other port)