A backend service for the AI-powered language learning and translation platform.
LangEdge Backend provides the API services and server-side logic that powers the LangEdge language learning and translation platform. It handles user authentication, translation requests, data persistence, and communication with external AI services.
- RESTful API: Well-structured endpoints for frontend communication
- AI Integration: Connects to language model services for translation and NLP features
- Authentication: Secure user authentication and authorization
- Database Operations: Efficient data storage and retrieval
- Error Handling: Robust error management and logging
- Containerization: Docker support for easy deployment
- Live Website: langedge.kritapas.dev
- Frontend Repository: LangEdge-Frontend
- Runtime: Node.js
- Framework: NestJS with TypeScript
- Authentication: Firebase
- Database: PostgreSQL, TypeORM
- Testing: Jest
- Containerization: Docker
- Clone the repository
- Install dependencies:
npm install- Set up environment variables
OPENAI_API_KEY="sk-..."
DATABASE_CONNECTION_STRING="postgresql://..."
FIREBASE_API_KEY="..."
FIREBASE_SERVICE_ACCOUNT={...}
- Start the development server:
npm run start:devBuild the Docker image:
OPENAI_API_KEY="sk-..." sh ./build.shRun the Docker container:
sh ./run.sh ${PORT}© 2025 Kritapas Suwannawin. All rights reserved.