1.3 KiB
1.3 KiB
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
-
Clone the repository:
git clone <repository-url> -
Navigate to the project directory:
cd react-bootstrap-migration -
Install dependencies:
npm installor
yarn install
3. Configuration
The application configuration is located in src/config.ts. Update the apiBaseUrl and other settings to match your environment.
// 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:
npm start
or
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:
npm run build
or
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.