Skip to content

A small, locally deployed ASP.NET MVC website that allows users to rent movies from a movie catalog.

Notifications You must be signed in to change notification settings

Jogira/DvD-Rental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DvD-Rental

An ASP.NET MVC application made by following along with this course: https://codewithmosh.com/p/asp-net-mvc

A small, locally deployed website that allows users to rent movies from a movie catalog. Site admins are able to do CRUD (Create/Read/Update/Delete) operations to maintain the database. This can be done through the website, or directly via API calls.

Some pages have restricted access to prevent users that aren't logged in from interacting with the page. Restricted Page Accounts can be made using the registration page, which is handled by ASP.NET Core's Identity library. image Forms also have some custom validation as well. Dropdowns get autopopulated from the database models. image

CRUD Operations

All CRUD operations for movies can only be done by an admin. Movies can get added, including their covers. If it's a valid movie, it gets added to the movie catalog that can be viewed via the movies page or API. Added a movie image Movies can deleted by admins. If not logged in as an admin, this option is removed. Deleteing a movie (A view of the same page, but logged in as a normal user.) image Movies can also be edited. Here I changed the genre of Pool Room from Thriller to Sci-Fi and it updates realtime. The datatables plugin was also used to format the movies into a more presentable format, along with adding pagination, ordering, and search functionality. Editing a movie

Other Site Pages

For administrative purposes, a list of all customers can be viewed as well with all of the same functionality used for movies. image image

Movies can also be rented. As long as there is at least one copy of a movie in stock, it will appear when searched for. Both the fields for the customer renting and the movie they're looking for also autopopulates by contacting the customers API. A toast pops up when the rental is complete, and the number of available copies is decremented from the database. Renting movie

About

A small, locally deployed ASP.NET MVC website that allows users to rent movies from a movie catalog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published