70 lines
946 B
Markdown
70 lines
946 B
Markdown
# Aero Resolve - Frontend
|
|
|
|
This is the frontend application built with React and Vite.
|
|
|
|
## 🚀 Getting Started
|
|
|
|
### Prerequisites
|
|
- Node.js (v18+)
|
|
|
|
### Installation
|
|
1. Navigate to the frontend directory (if you aren't already here):
|
|
```bash
|
|
cd frontend
|
|
```
|
|
2. Install the dependencies using npm:
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
### Running the Application
|
|
|
|
Start the local development server for your desired environment:
|
|
```bash
|
|
# Development
|
|
npm run dev
|
|
|
|
# Local
|
|
npm run local
|
|
|
|
# Test
|
|
npm run test
|
|
|
|
# UAT
|
|
npm run uat
|
|
```
|
|
|
|
### Build for Production
|
|
|
|
To build the application for a specific environment:
|
|
```bash
|
|
# Development
|
|
npm run build:dev
|
|
|
|
# Local
|
|
npm run build:local
|
|
|
|
# Test
|
|
npm run build:test
|
|
|
|
# UAT
|
|
npm run build:uat
|
|
```
|
|
|
|
### Preview Built Application
|
|
|
|
To preview the production build locally:
|
|
```bash
|
|
# Development
|
|
npm run preview:dev
|
|
|
|
# Local
|
|
npm run preview:local
|
|
|
|
# Test
|
|
npm run preview:test
|
|
|
|
# UAT
|
|
npm run preview:uat
|
|
```
|