Skip to content

CodeLab is a fullstack platform built with Next.js and Prisma for managing and delivering educational content. Features include course structure via JSON, AI integration, and Asaas payment support.

Notifications You must be signed in to change notification settings

sampaiogabriel/codelab

Repository files navigation

CodeLab

A fullstack platform designed for educational content creation, management, and delivery. It supports multi-role access (admins and students), with features such as user authentication and payment integration. Administrators can create and manage courses, upload and organize lessons, moderate comments, and manage user accounts, while students can access course content, post questions, and interact within lessons.

CodeLab

📚 About the Project

CodeLab is an educational platform that allows you to:

  • Manage courses and lessons with a JSON-based structure.
  • Integrate AI features to enhance user experience.
  • Handle payments and subscriptions using the Asaas API.
  • Manage users and authentication with Clerk.
  • Store files using Cloudflare R2.

🚀 Technologies Used

  • Next.js: React framework for web applications.
  • Prisma: ORM for database management.
  • TypeScript: JavaScript superset with static typing.
  • Tailwind CSS: Utility-first CSS framework.
  • Clerk: Authentication and user management service.
  • Asaas: API for payments and subscriptions.
  • Cloudflare R2: Object storage service.

🔧 Environment Variables

To set up the project, create a .env file at the root with the following variables:

Clerk

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
CLERK_SECRET_KEY=""
CLERK_WEBHOOK_SECRET=""

Asaas

ASAAS_API_KEY=""
ASAAS_API_URL=""
ASAAS_WEBHOOK_TOKEN=""

Neon (Prisma)

DATABASE_URL=""

Cloudflare R2

CLOUDFLARE_ACCOUNT_ID=""
CLOUDFLARE_ACCESS_ID=""
CLOUDFLARE_ACCESS_KEY=""
CLOUDFLARE_R2_BUCKET_NAME=""
CLOUDFLARE_FILE_BASE_PATH=""

⚙️ Useful Commands

  • Start development server:
npm run dev
  • Run Prisma migrations:
npx prisma migrate dev
  • Open Prisma Studio:
npx prisma studio

📄 License

This project is licensed under the MIT License.

📬 Contact

For more information, reach out to Gabriel Sampaio.

About

CodeLab is a fullstack platform built with Next.js and Prisma for managing and delivering educational content. Features include course structure via JSON, AI integration, and Asaas payment support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •