Skip to content

lintoncaldecott/LeadifyAssessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeadifyAssessment

This is a simple contacts CRUD application for leadify, for their assessment.
I stole some styling elements from the leadify site.
I haven't been exceptionally careful with continuity per page, in terms of syling.
I have not limmited creation of contacts by any field, that all depends on some business rules.
I have created a unit test project, but not written any tests, I chipped away at this over my weekend with sick kids and a bajillion kids parties. Totally ran out of time.

The following requirements need to be met:

 Visual Studio 2015 needs to be used to create the application. - DONE

 SQL Server 2016 express or higher needs to be used to create the database together - DONE

 All 3 rd party libraries and frameworks used in the app must be obtained as far as possible

using the NuGet package manager from within Visual Studio. - DONE

 Bootstrap must be used to build the html frontend - DONE

 Entity Framework must be used to connect to SQL Server from your application - DONE

 Dependency injection must be used, you may use any dependency injection framework you

feel comfortable with. - DONE, Unity

 The main web application must be an C# ASP.NET MVC 5 web application - DONE

 Your application must target .NET framework 4.6.1 - DONE

 When you have completed your application it needs to be committed to a public Github repository in order for us to review it. Please include all project files and a backup of the SQL Server database. - DONE run Update-Database from package manager console to create the DB

 Feel free to Google whatever you need to in order complete the project. If you do not know how to do something we would like to know how you found a solution to get it done. - I had to check how to actually set up code first creation, and dependency injection. I used various tutorials to implement both of those.

Instructions

  1. Create a new database in SQL Server called leadifytest. - DONE, using code first

  2. In the database create a new table called tbl contact with the following fields (use yourdiscretion as to what data types to use): - DONE, with code first, datatypes all string, but input validation restricts what data can go in via the site

  3. Create a blank Visual Studio solution for the app and call it LeadifyTest - DONE, except I called it LeadifyAssessment, renaming things broke ALL the things, so I kept it the same

  4. Within the solution create a new ASP.NET MVC5 web project - DONE

  5. Create a listing page to list all the contacts in the database, with links to add, create and delete contacts- DONE

  6. Create a page to add a new contact - DONE

  7. Create a page to edit a contact - DONE

  8. Ensure that all form fields use JQuery Validation and Unobtrusive validation. - DONE

  9. Ensure that everything is MVC, i.e. use views and controllers and models to build your pages - DONE

About

Initial publish of the Leadify Assessment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors