π Local Development Setup
β¨ This workspace is powered by Nx, Smart Monorepos Β· Fast CI. β¨
π οΈ Stackβ
- Backend: NodeJs, NestJs
 - Frontend: VueJs, TailwindCSS with Flowbite
 
π Requirementsβ
To ensure a smooth development experience, please ensure you have the following installed:
- Node.js: Version 20 or higher
 - TypeScript: Version 5.0.0 or higher
 - NPM: Ensure you have NPM installed
 - Nx Workspace: Version 19.0.0 or higher
 
βοΈ Installationβ
Follow these steps to set up your local environment:
- 
Clone the Repository
Start by cloning the repository to your local machine:
git clone git@github.com:otwld/velero-ui.git - 
Install Nx
Install Nx globally using one of the following commands:
npm add --global nx@latestor
npm install -g nx@latest - 
Install dependencies with npm
Install project dependencies by running:
npm install - 
Edit the .env.development, you can find references HERE
 
π Serveβ
- Serve the API
 
nx serve velero-ui-api
- Serve the APP
 
nx serve velero-ui
ποΈ Buildβ
- Build the API
 
nx build velero-ui-api
- Build the APP
 
nx build velero-ui
π¦ Build Docker Imageβ
Please make sure you have Docker installed on your machine.
At the root of the project, run the following command:
- Build Velero UI
 
nx build velero-ui
- Build Docker Image
 
docker build -t velero-ui .