Welcome to the CourseManager MVC app โ your go-to portal for managing student enrollments without breaking a sweat (or a database). Whether you're wrangling course data or tracking student responses, this web app has your back like a well-placed semicolon.
Imagine a world where managing courses and enrollments isโฆ pleasant. This ASP.NET Core MVC application features a dynamic 1-to-many data model that lets you easily:
- Add and manage courses ๐ซ
- Enroll students like a breeze ๐
- Navigate with a clean UI ๐งญ
- Notify students automagically via email โ๏ธ
- Track responses like a responsible grown-up โ
All while keeping things secure with cookie-based session management ๐ช.
| Layer | Tech Used |
|---|---|
| Framework | ASP.NET Core MVC |
| Backend | C# |
| ORM | Entity Framework Core |
| Database | SQL Server (EF Migrations) |
| Notifications | Gmail SMTP Integration |
| Sessions | Cookie-Based Auth ๐ช |
Clone the repo and ride:
git clone https://github.com/your-username/CourseManager-MVC.git
cd CourseManager-MVC-
Install Dependencies Make sure youโve got the .NET SDK installed.
-
Update Database Apply migrations and seed the DB:
dotnet ef database update
-
Run the App Launch the web app:
dotnet run
-
Profit ๐ฐ Access it at
https://localhost:5001orhttp://localhost:5000
Yep, we notify students using Gmail SMTP. Configure your appsettings.json like so:
"EmailSettings": {
"SmtpServer": "smtp.gmail.com",
"Port": 587,
"SenderName": "CourseManager",
"SenderEmail": "your-email@gmail.com",
"Username": "your-email@gmail.com",
"Password": "your-app-password"
}๐ Use an App Password if you're on Google. Never hardcode real credentials โ use secrets or environment variables in production.