Skip to content

ASP.NET MVC Application that Displays Lego Products and Event Information

Notifications You must be signed in to change notification settings

robert-caulfield/BobsBricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BobsBricks

Welcome to BobsBricks, a mock LEGO website! This ASP.NET MVC project is responsible for pulling Products and Group Build information from an SQL Server database utilizing Entity Framework. The website was designed to be responsive and user-friendly, with a consistent theme made possible by Bootstrap and Bootswatch. On top of this Ajax was used to update the products page responsively based on the user's input.

Technology Used

  • ASP.NET MVC: Developed dynamic webpages which are structured for scalability.
  • Entity Framework: Entity Framework is used to interact with the database. A code first design was used to create and manage the database.
  • Bootstrap and Bootswatch: Bootstrap is used with a Bootswatch theme to maintain a consistent design throughout all pages.
  • Ajax: Ajax is used to update the product index page dynamically given the users filter parameters.

Database Design

The database design used a code first approach to create the Product and GroupBuilds table.

  • Product: Contains product information such as name, description, and price.
  • GroupBuild: Contains information about group build events such as the name, start time, and the product being built.

Below is a diagram of the two tables with their attributes.

Image of DB Schema Design

  • Primary keys are bold
  • A * denotes a required field

Page Overviews

Contains a navbar that allows users to quickly access all pages.

Home Controller:

Serves as the entry point to the website.

Index Page

  • Headline and Sub-headline.
  • "Call to action" buttons for easier navigation to product and group build pages.
  • List of the 3 latest products.

Image of DB Schema Design

Product Controller

Serves as access to product information

Index

  • Contains a list of products ordered based on the given filters, which navigate the user to the product's detail page.
  • Utilizes Ajax to dynamically update the webpage when the page initially loads and when the user changes a filter.
  • Utilizes partial views for the list of products as well as each entry.

Image of DB Schema Design

Detail

  • Displays information about the specific product.
  • Includes a list of 3 recommended products.

Image of DB Schema Design

Group Build Controller

Serves as access to Group Build information.

Index

  • Displays the list of the earliest group builds based on their StartTime attribute in ascending order.
  • Does not display GroupBuilds that have already passed.
  • Contains a list of selectable entries that navigates the user to the GroupBuild's detail page.
  • Utilizes partial views for the list of Group Builds as well as each entry.

Image of DB Schema Design

Detail

  • Displays the information about the specific Group Build.
  • Includes a partial view of the related product entry, allowing users to see the product's detail page.

Image of DB Schema Design

Acknowledgments

About

ASP.NET MVC Application that Displays Lego Products and Event Information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published