https://github.com/asishkumar-gouda/duolingo_clone
DuoLingo Clone 🐥 with TypeScript, Tailwind, PostgresDB, Drizzle ORM & Stripe
https://github.com/asishkumar-gouda/duolingo_clone
conatiners docker drizzle-orm images postgresql stripe tailwind-css typescript
Last synced: 11 months ago
JSON representation
DuoLingo Clone 🐥 with TypeScript, Tailwind, PostgresDB, Drizzle ORM & Stripe
- Host: GitHub
- URL: https://github.com/asishkumar-gouda/duolingo_clone
- Owner: asishkumar-gouda
- Created: 2024-04-15T08:14:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-12T07:12:39.000Z (over 1 year ago)
- Last Synced: 2025-04-09T18:13:53.804Z (about 1 year ago)
- Topics: conatiners, docker, drizzle-orm, images, postgresql, stripe, tailwind-css, typescript
- Language: TypeScript
- Homepage: https://duolingo-clone-ashy.vercel.app
- Size: 3.75 MB
- Stars: 20
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DuoLingo Clone with TypeScript, Tailwind, PostgresDB, Drizzle ORM & Stripe
### The Duolingo Clone is now Dockerized. You can use it in Docker via the instructions provided in the [Docker README](Docker-Readme.md).
https://github.com/ASISHGOUDA/duolingo_clone/assets/94213250/0890410d-0681-4342-9d96-cbb5999201c3
### Database Schema
```bash
https://github.com/ASISHGOUDA/duolingo_clone/blob/main/db/schema.ts
```

## Environment Variables
| Variable Name | Description | Example Value |
|--------------------------------|--------------------------------------------------|---------------------------------------------------------------------------------------------------|
| `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` | Clerk's publishable API key for public access | `pk_test_1234567` |
| `CLERK_SECRET_KEY` | Clerk's secret API key for server-side access | `sk_test_45433454651` |
| `DATABASE_URL` | Connection URL for the PostgreSQL database | `postgresql://Duolingo_owner:54654546352654165465` |
| `STRIPE_API_KEY` | Stripe's secret API key | `sk_test_444564645654685` |
| `NEXT_PUBLIC_APP_URL` | URL where the Next.js app is hosted | `http://localhost:3000` |
| `STRIPE_WEBHOOK_SECRET` | Stripe webhook secret for verifying events | `whsec_455436565` |
## Setup Instructions
1. Clone the repository.
2. Create a `.env` file in the root directory of the project.
3. Copy the environment variables from the table above or from `.env.example` and paste them into the `.env ` file.
4. Replace the example values with your actual keys and URLs.
5. Run the project using `npm run dev` or your preferred command.
### Cloning the repository
```bash
https://github.com/ASISHGOUDA/duolingo_clone.git
```