🤯 🤯 This repo was buikt with ENGLISH as the programming language with Cursor IDE and v0.🤯
Dandi API is a comprehensive boilerplate repository for building AI-powered micro SaaS applications. It provides a solid foundation with essential components and functionalities needed to run an end-to-end micro SaaS application.
The service itself offers powerful insights, summaries, and analytics for open source GitHub repositories.
🌐 Live Application: https://www.dandi.cloud/
- Complete Micro SaaS Structure: Implements all necessary components for a fully functional AI micro SaaS application.
- API Key Management: Built-in system for handling API keys, UI heavily inspired by Tavily.
- Rate Limiting: Integrated rate limiting for API protection.
- SSO Login: Implemented Single Sign-On functionality.
- AI Integration: Leverages LangChain JS for AI capabilities.
This entire project was developed using Cursor IDE, primarily through prompting with Cursor Composer and v0 . As a developer without frontend or full-stack experience, this project demonstrates the power of AI-assisted development.
ENGLISH IS THE NEW PROGRAMMING LANGUAGE.
- Frontend: React, Next.js 13 (App Router), Tailwind CSS
- Backend: Node.js, Next.js API Routes
- Database: Supabase (PostgreSQL)
- Authentication: NextAuth.js
- UI Components: Shadcn UI, Radix UI
- API: RESTful API with rate limiting and API key authentication
- AI: LangChain JS 🦜🔗
- Deployment: Vercel
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/dandi-api.git cd dandi-api
-
Install dependencies:
yarn install
-
Set up environment variables: Create a
.env.local
file in the root directory and add the necessary environment variables (refer to the Environment Variables section below). -
Run the development server:
yarn dev
-
Open http://localhost:3000 in your browser to see the application.
Create a .env.local
file in the root directory with the following variables:
DB_URL=
DB_NAME=
DB_USER=
DB_PASSWORD=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
Note: Keep your .env.local
file secure and never commit it to version control.
To build the project for production:
yarn build
To run the production build locally:
yarn start
For a detailed video tutorial on how to build this micro SaaS application from scratch with cursor and v0, check out my Udemy course:
Cursor AI: Full Stack development with AI powered CoPilot
🚀 From Backend to Full-Stack with Cursor IDE and v0 Magic!
In this course, I will show you how to build this entire app rapidly using AI:
- 🖥️ Most of Cursor IDE & v0 by Vercel
- 🧠 AI-Driven Development Workflows
- 🛠️ Building a Complete AI Micro SaaS (LangChain JS)
- 💡 Prompting Techniques for Coding and working with AI
- 💡 Cursor Copilot best practices (at least for me)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache-2.0 license.