Skip to content

Nikola352/cirilizator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Serbian Transliteration App

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.

Running the Backend

  1. Navigate to the server directory:
  cd server
  1. Install the required Python packages using pip:
  pip install -r requirements.txt
  1. Run the Flask development server:
  flask run

The backend will start on http://localhost:5000. View the docs: http://localhost:5000/apidocs/#/

Running the Frontend

  1. Navigate to the client directory:
  cd client
  1. Install the required Node.js packages using npm:
  npm install
  1. Run the Vite development server:
  npm run dev

The frontend will be accessible at http://localhost:5173.

Usage

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

Notes

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.

TODO

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •