-Project of MVC in ITI
- Project Structure
- Data base
- Identity System
- Admin dashboard
- Movie Website
- Project Structure:
- Set up for program.cs services and middle wares to work with the project
- Add the configuration for appsettings.json file for connection string ,facebook , google , stripe
- Project is partitioned into Areas:
- AdminDashBoard
- Identity
- Payment
- User: interaction of user with movies and series
- Movies and Series area.
- Database :
- Created Database schema , Models and Context
- Created Reposatory Pattern in C# Interfaces and classes
- Identity System :
- Scaffolded identity system created
- Register System with normal user
- External logins with google and facebook
- Created Roles (“Admin,Normal users”)
- Admin Account Applied Without Register: 1. ID:[email protected] 2. Password:Admin@movie123
- Normaly any normal or external user is assigned to Normaluser role
- Ability to Edit user profile and delete the account
- Admin Dashboard :
Only accessed to Admin Role- Created dashboard to CRUD movies , series and episodes
- Assign user to Role
- Remove user from Role
- CRUD on Role
- AdminDashboard Template Was Used
- Custom Data annotation were used
- Using Routing and Routing Constraints
-
Movie Website Features: (Only Authenticated user can watch movies and user full system Features)
- User Can choose among 3 plans (Basic,Premium,Pro) and Use Stripe API to mimic Payment
- Show all movies and all series and every episode available of that series
- User can add specific amount of movies based on his Plan 1. Basic : 2 movies 2. Premium : 6 movies 3. Pro : Unlimited Movies 4. No Plan : No Favorite movies
(If user tries to add more than the given amount for his plan he will be redirected to custom handler Exception page)
- Show Favorite Movies and series for Each user and also recommened Movies based on his Favorite Category
- User can add movies and series to his watch list
- Watch Movies and Series Episodes and the ability to Download them if Authenticated
- News Page
- Handling 404 Errors and unauthorized Errors with custom pages
- Web site Deployed on IIS