Your Name 2066b2aa63 docs: Create initial migration planning documents for React migration
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-07-18 06:39:08 +00:00

70 lines
1.3 KiB
Markdown

# Migration Instructions: React + Bootstrap Application
This document contains instructions for setting up, running, and building the migrated React application.
## 1. Prerequisites
- Node.js (v16 or higher)
- npm or yarn
## 2. Project Setup
1. **Clone the repository:**
```bash
git clone <repository-url>
```
2. **Navigate to the project directory:**
```bash
cd react-bootstrap-migration
```
3. **Install dependencies:**
```bash
npm install
```
or
```bash
yarn install
```
## 3. Configuration
The application configuration is located in `src/config.ts`. Update the `apiBaseUrl` and other settings to match your environment.
```typescript
// src/config.ts
export const config = {
apiBaseUrl: 'http://localhost:8080/api', // Update with your backend URL
// ... other settings
};
```
## 4. Running the Application
To run the application in development mode:
```bash
npm start
```
or
```bash
yarn start
```
This will start the development server, and you can view the application at `http://localhost:3000`.
## 5. Building the Application
To create a production build of the application:
```bash
npm run build
```
or
```bash
yarn build
```
The build artifacts will be stored in the `build/` directory. These are the static files that can be deployed to any web server.