A collaborative language learning platform that combines crowdsourced contributions with structured guided learning experiences. LangLantern empowers users to both learn from and contribute to a growing collection of uncommon language and dialect courses, lessons, and learning materials.
- Crowdsourced Content: Community-driven contributions of language learning materials
- Guided Learning: Structured courses and learning paths
- Interactive Lessons: Engaging learning experiences
- Community-Powered: Learn from and contribute to the global language learning community
Review Contributions | Add Contribution |
---|---|
![]() |
![]() |
Forum Overview | Discussion Thread |
---|---|
![]() |
![]() |
rose-token/
├── api/ # Backend API server
├── web/ # Frontend web application
├── docs/ # Documentation and images
Before running LangLantern, make sure you have the following installed:
git clone <repository-url>
cd rose-token
Create a .env
file in the api/prisma
folder:
# Navigate to the prisma folder
cd api/prisma
# Create the environment file
touch .env
Add your MongoDB connection string to the .env
file:
# For local MongoDB
DATABASE_URL="mongodb://localhost:27017/langlantern"
# OR for MongoDB Atlas (replace with your connection string)
DATABASE_URL="mongodb+srv://<username>:<password>@<cluster>.mongodb.net/langlantern?retryWrites=true&w=majority"
Note: Replace <username>
, <password>
, and <cluster>
with your actual MongoDB Atlas credentials if using cloud database. Also make sure to include the name of database (you can use any name) e.g. /langlantern in above url
Install dependencies for both the API and web applications:
# Install API dependencies
cd api
pnpm install
# Install web dependencies
cd web
pnpm install
# Navigate back to the API folder
cd /api
# Generate schema
npx prisma generate
You'll need to run both the API and web servers. Open two terminal windows:
Terminal 1 - API Server:
cd api
pnpm dev
Terminal 2 - Web Server:
cd web
pnpm dev
Once both servers are running:
- Open your browser
- Navigate to the frontend URL (as shown in the web terminal)
- The API will be running on its own port (as configured)
- API Development: Make changes in the
api/
folder - Frontend Development: Make changes in the
web/
folder - Database Changes: Update Prisma schema and run migrations as needed
- Documentation: Update relevant docs and add screenshots to
docs/images/
We welcome contributions to LangLantern! Please read our contributing guidelines and submit pull requests for any improvements.