Translation Portal is a Vite-powered React application for performing translations efficiently. It integrates with Sunbird AI's translation API to provide seamless language translation.
- Fast Development with Vite
- React Router for seamless navigation
- API Integration with
api.sunbird.ai
- Frontend: Vite + React
- Styling: Tailwind CSS, Material-UI
Ensure you have the following installed:
- Node.js (LTS version recommended)
- npm or yarn package manager
-
Clone the repository:
git clone https://github.com/SunbirdAI/translation-portal-react.git
-
Navigate to the project directory:
cd translation-portal-react -
Install dependencies:
npm install
-
Create a
.envfile in the root directory and add the following environment variables:VITE_SB_API_URL=<your_api_url> VITE_SB_API_TOKEN=<your_api_token> VITE_GA4_TRACKING_ID=<your_tracking_id> VITE_GA4_MEASUREMENT_ID=<your_measurement_id> VITE_FEEDBACK_URL=<your_feedback_url>
-
Start the development server:
npm run dev
or
npm start
The application will be available at
http://localhost:3000/