Skip to content

Commit 90f00f0

Browse files
[Docs] [Done] [Bishwajeet] update README.md to enhance project description, features, and setup instructions
1 parent 87ed0f4 commit 90f00f0

1 file changed

Lines changed: 125 additions & 19 deletions

File tree

langsuit/README.md

Lines changed: 125 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,142 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# LangSuit 🌍
2+
3+
An easy way to become a Polyglot - A modern language learning platform built with Next.js.
4+
5+
## Features
6+
7+
- 🎯 Interactive language learning exercises
8+
- 📊 Real-time progress tracking
9+
- 🏆 Leaderboard and achievements system
10+
- 🎓 Multiple language courses
11+
- 💻 Instructor dashboard
12+
- 📱 Mobile-responsive design
13+
- 🔄 Real-time analytics
14+
15+
## Tech Stack
16+
17+
- Next.js 14 with App Router
18+
- TypeScript
19+
- Drizzle ORM with PostgreSQL
20+
- Redis Caching
21+
- TailwindCSS
22+
- Clerk Authentication
23+
- React Admin Dashboard
24+
- Recharts for Analytics
25+
- Jest for Testing
26+
27+
## Prerequisites
28+
29+
- Node.js 18+
30+
- PostgreSQL
31+
- Redis (optional, for caching)
232

333
## Getting Started
434

5-
First, run the development server:
35+
1. Clone the repository:
36+
37+
```bash
38+
git clone https://github.com/codegasms/langsuit.git
39+
cd langsuit
40+
```
41+
42+
2. Install dependencies:
43+
44+
```bash
45+
npm install
46+
```
47+
48+
3. Set up environment variables:
49+
50+
```bash
51+
cp .env.example .env
52+
```
53+
54+
4. Update the .env file with your credentials:
55+
56+
```env
57+
DATABASE_URL=your_postgres_url
58+
REDIS_URL=your_redis_url
59+
CLERK_SECRET_KEY=your_clerk_key
60+
.
61+
.
62+
.
63+
```
64+
65+
5. Run database migrations:
66+
67+
```bash
68+
npm run db:push
69+
```
70+
71+
6. Seed the database:
72+
73+
```bash
74+
npm run db:seed
75+
```
76+
77+
7. Start the development server:
678

779
```bash
880
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
1581
```
1682

17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
83+
Open [http://localhost:3000](http://localhost:3000) to see the application.
84+
85+
## Available Scripts
1886

19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
87+
- `npm run dev` - Start development server
88+
- `npm run build` - Build for production
89+
- `npm run start` - Start production server
90+
- `npm run lint` - Run ESLint
91+
- `npm run format` - Format code with Prettier
92+
- `npm run test` - Run tests
93+
- `npm run test:coverage` - Run tests with coverage
94+
- `npm run db:studio` - Open Drizzle Studio
95+
- `npm run db:push` - Push database changes
96+
- `npm run db:seed` - Seed the database
2097

21-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
98+
## Testing
2299

23-
## Learn More
100+
The project uses Jest for testing. Run the test suite with:
101+
102+
```bash
103+
npm run test
104+
```
105+
106+
For coverage report:
107+
108+
```bash
109+
npm run test:coverage
110+
```
111+
112+
Check [package.json](package.json) for more scripts.
113+
114+
## Project Structure
115+
116+
```
117+
langsuit/
118+
├── app/ # Next.js app directory
119+
│ ├── (dashboard)/ # Dashboard routes
120+
│ ├── (home)/ # Public routes
121+
│ └── api/ # API routes
122+
├── components/ # Reusable components
123+
├── db/ # Database configuration
124+
├── lib/ # Utility functions
125+
├── public/ # Static assets
126+
└── tests/ # Test files
127+
```
24128

25-
To learn more about Next.js, take a look at the following resources:
129+
## Contributing
26130

27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
131+
1. Fork the repository
132+
2. Create a new branch
133+
3. Make your changes
134+
4. Submit a pull request
29135

30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
136+
## License
31137

32-
## Deploy on Vercel
138+
This project is licensed under the MIT License.
33139

34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
140+
## Support
35141

36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
142+
For support, email bishwajeet.s22@iiits.in, parth.v22@iiits.in or akshat.m22@iiits.in. Otherwise open an issue in the repository.

0 commit comments

Comments
 (0)