A React + Vite application for managing Request for Proposals (RFP).
This application uses environment variables for configuration. Create a .env file in the root directory with the following variable:
VITE_API_BASE_URL=http://127.0.0.1:8000
Note: In Vite, environment variables must be prefixed with VITE_ to be accessible in the client-side code.
You can copy .env.example to .env and modify the values as needed:
cp .env.example .envFor different environments (development, staging, production), create separate .env files:
.env.development- Development environment.env.production- Production environment
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.