This is a Django REST Framework (DRF) project that provides an FAQ API with multilingual support (English, Hindi, Bengali). It uses:
- Django & DRF for API Development
- Redis for caching API responses
- Google Translate API for automatic translations
- django-ckeditor for WYSIWYG answer formatting
git clone https://github.com/YOUR_USERNAME/multilingual-faq-api.gitcd multilingual-faq-apipython -m venv venvvenv\Scripts\activatepip install -r requirements.txtStart Redis:
redis-server(Linux/Mac)
For Windows, install Memurai.
python manage.py migratepython manage.py createsuperuserpython manage.py runserverNow, open:
- API: http://127.0.0.1:8000/api/faqs/
- Admin Panel: http://127.0.0.1:8000/admin/
curl http://127.0.0.1:8000/api/faqs/curl http://127.0.0.1:8000/api/faqs/?lang=hicurl http://127.0.0.1:8000/api/faqs/?lang=bn- Django & Django REST Framework (DRF)
- Redis for caching
- Google Translate API for auto-translation
- SQLite (default)
Want to contribute? Follow these steps:
- Fork the repo.
- Create a new branch:
git checkout -b feature-name. - Commit your changes:
git commit -m "feat: Added XYZ feature". - Push to the branch:
git push origin feature-name. - Open a Pull Request.
This project is MIT Licensed. Feel free to use and modify.
For issues, contact: your.email@example.com
GitHub: YourUsername
Happy Coding!