AI SummaryHeuristic scoring (no AI key configured).
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "studyhub-express-ejs-app — Copilot Instructions" prompt rules to my project. Repository: https://github.com/raushan728/studyhub-express-ejs-app Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Copilot Instructions for studyhub-express-ejs-app
Overview
StudyHub is a full-stack web application built with Express.js, EJS, MongoDB, and modern CSS animations. It provides a platform for students to learn, interact, and manage their educational resources. The project follows a modular architecture with clear separation of concerns.
Architecture
• Backend: Express.js handles routing, middleware, and API logic. • Routes are organized by feature in the routes/ directory (e.g., auth.js, courses.js, notes.js). • Middleware is stored in middleware/ (e.g., auth.js for authentication). • Models are defined using Mongoose in the models/ directory (e.g., User.js, Course.js, Note.js). • Frontend: EJS templates in the views/ directory provide dynamic HTML rendering. • Templates are organized by feature (e.g., views/courses/, views/auth/). • Shared components like navigation and footer are included using partials. • Static Assets: CSS, JavaScript, and images are stored in the public/ directory. • Database: MongoDB is used for data storage, with Mongoose for schema definition and querying.
Running the Application
• Install dependencies: `cmd npm install ` • Set up environment variables in a .env file: `env PORT=3000 MONGO_URI=<your-mongodb-uri> SESSION_SECRET=<your-session-secret> ` • Start the application: `cmd npm start `
Debugging
• Use console.log for debugging server-side code. • Check the browser console for frontend issues. • MongoDB queries can be debugged using Mongoose's .exec() method.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts