An AI-powered writing assistant website built with a ReactJS frontend and a backend powered by ExpressJS and Python FastAPI.
- Grammar Checking: Corrects grammar mistakes in your text.
- Improvement Suggestions: Provides suggestions to improve your text.
- Frontend: ReactJS
- Backend: ExpressJS, Python FastAPI
- AI Model: Gemini Pro
- Database: MongoDB
- Authentication: JWT
Note: Ensure you add your API keys and required environment variables in the
.env
file as shown in the.env.example
file.
- Go to the
backend
directory.cd backend
- Install the required dependencies:
npm install
- Run the following command:
npm run dev
- The backend server will start running on
http://localhost:5000
.
- Go to the
python-backend
directory.cd backend
- Create a virtual environment:
python3 -m venv .venv
- Activate the virtual environment:
linux command
. ./.venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Run the following command:
fastapi run
- The backend server will start running on
http://localhost:8000
.
- Go to the
frontend
directory.cd frontend
- Install the required dependencies:
npm install
- Run the following command:
npm run dev
- The frontend server will start running on
http://localhost:5173
.