Vimra is a comprehensive course generation application designed to streamline the creation and management of educational content. Leveraging technologies such as MongoDB, Stripe, OpenAI, Prisma, Next.js, and Tailwind CSS, Vimra offers a robust platform for educators and content creators.
- Course Creation
: Easily generate and manage courses with a user-friendly interface.
- Payment Integration
: Secure payment processing powered by Stripe.
- AI Assistance
: Utilize OpenAI for content suggestions and enhancements.
- Database Management
: Efficient data handling with MongoDB and Prisma.
- Responsive Design
: Sleek and responsive user interface built with Next.js and Tailwind CSS.
Vimra addresses the growing need for dynamic, AI-assisted educational platforms in an era of digital learning. The platform is ideal for:
- Educators: Simplifying course creation and monetization.
- Institutions: Offering flexible content management.
- Learners: Providing an intuitive and engaging interface.
By leveraging cutting-edge technologies, Vimra aims to:
- Reduce the effort and time required to create and publish courses.
- Enhance content quality using AI suggestions.
- Enable secure and scalable payment processing.
- Provide a modern and responsive user interface.
- Next.js:
- Used for building a high-performance, server-side rendered (SSR) frontend.
- Provides routing and dynamic page rendering for better SEO and speed.
- Tailwind CSS:
- A utility-first CSS framework for creating visually appealing and responsive designs.
- Node.js:
- Powers the backend with non-blocking, event-driven architecture.
- Prisma:
- An ORM (Object-Relational Mapping) tool to interact with the MongoDB database.
- Ensures smooth database operations with type safety and schema migrations.
- OpenAI API:
- Provides AI-powered content generation and enhancement capabilities.
- Stripe API:
- Integrates secure payment gateways for course purchases and subscriptions.
- MongoDB:
- A NoSQL database used for storing user data, courses, and payment information.
- Chosen for its scalability and flexibility in handling unstructured data.
- Stripe:
- Facilitates secure payment processing, including subscriptions, invoicing, and refunds.
- OpenAI:
- Used to generate course content, suggest enhancements, and provide AI-driven features.
-
Course Generation:
- AI-driven content suggestions to speed up the creation process.
- Customizable course structures tailored to different educational needs.
-
Payment Integration:
- Secure and seamless payment options via Stripe.
- Subscription-based or one-time payment models for courses.
-
Content Management:
- Add, update, and delete courses in a centralized dashboard.
- Flexible database for handling large datasets.
-
User-Friendly Design:
- Intuitive and responsive UI built with Next.js and Tailwind CSS.
- Optimized for both desktop and mobile users.
-
AI Assistance:
- OpenAI-backed features for generating course outlines, lessons, and quizzes.
- Automatic grammar and content improvement.
Before setting up Vimra, ensure you have:
- Node.js (v14.x or higher) and npm (v6.x or higher) installed.
- Access to a MongoDB instance (e.g., MongoDB Atlas).
- Stripe and OpenAI API keys for full functionality.
git clone https://github.com/83Gh0st/Vimra.git
cd Vimranpm installCreate a .env file in the project root directory and add the following variables:
# Database
DATABASE_URL=your_mongodb_connection_string
# Stripe API
STRIPE_SECRET_KEY=your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
# OpenAI API
OPENAI_API_KEY=your_openai_api_key
# Youtube API
YOUTUBE_API_KEY=your_openai_api_keyExplanation:
DATABASE_URL: Connection string to your MongoDB database.STRIPE_SECRET_KEY&NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: Keys to enable secure payment processing with Stripe.OPENAI_API_KEY: Key to access OpenAI's GPT-powered AI features.YOUTUBE_API_KEY: Key to access youtube's features.
npx prisma generatenpx prisma db pushnpm run devAccess the application at http://localhost:3000.
- Sign up for a free account at MongoDB Atlas.
- Create a new cluster and retrieve the connection string.
- Replace
<username>,<password>, and<database_name>with your credentials in the connection string.
- Register at Stripe.
- Navigate to the "Developers" section.
- Copy your Secret Key and Publishable Key.
- Create an account at OpenAI.
- Access your API key from the dashboard.
Vimra includes test cases to ensure functionality. To run tests:
npm run testFor production deployment, use platforms with VPS. Ensure the following:
- Add the environment variables to your hosting provider.
- Use
npm run buildto create an optimized production build. - Deploy the build to your chosen platform.
Vimra/
├── components/ # Reusable React components
├── pages/ # Next.js pages (routes)
├── prisma/ # Prisma schema and migrations
├── public/ # Static assets
├── styles/ # Tailwind CSS configurations
├── utils/ # Utility functions
├── .env # Environment variables
├── package.json # Project metadata and dependencies
Contributions are welcome! Follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Submit a pull request with a detailed description.
This project is licensed under the MIT License.
For inquiries or support, reach out to 83Gh0st.