This application consists of a Python Flask backend and a JavaScript React Vite frontend. The backend provides transliteration services from Serbian Latin to Serbian Cyrillic using the GPT-3 API. The frontend allows users to input text and choose between AI-based transliteration and local transliteration.
- Navigate to the
server
directory:
cd server
- Install the required Python packages using pip:
pip install -r requirements.txt
- Run the Flask development server:
flask run
The backend will start on http://localhost:5000. View the docs: http://localhost:5000/apidocs/#/
- Navigate to the
client
directory:
cd client
- Install the required Node.js packages using npm:
npm install
- Run the Vite development server:
npm run dev
The frontend will be accessible at http://localhost:5173.
Access the frontend in your web browser at http://localhost:5173.
Access the login page at http://localhost:5173/#
Create a blog post at http://localhost:5173/admin
Ensure both the backend and frontend servers are running simultaneously for the full functionality of the application.
Make sure to install the required dependencies using pip install -r requirements.txt and npm install for the backend and frontend, respectively.
Add backend tests
Add more backend docs
Refactor some frontend code
Make buttons for /# and /admin
Implemented a button for localhost:5000/transliterate_pdf & localhost:5000/transliterate_txt