This is my project files for the programming part of my Digital Solutions IA2 Assessment.
I codded this part using ASP.NET Core 5 instead of PHP due to the fact that I have a better understanding of C#, and that I wanted to learn ASP.NET Core.
This project is a little bit more advance than what the assignment asked for, the assignment asked for just to make it look like its doing stuff and that it is all faked. However I wanted to learn ASP.NET so it includes user identity system, entity framework, as well as a functional ordering system.
I have made the programming part of my project public incase anyone wants a basic understanding on how this might be done. Your assessment task maybe slightly different to making a tuckshop ordering system, but this still has what you need to understand.
-
Have a MySQL server ready, with a database called 'tuckshop'.
-
Update
appsettings.json
to include the connection string to the MySQL server. -
Install the EF tool
-
Run
dotnet ef database update
-
Open the sln with Rider or VS. Run the project WITHOUT IIS express, it will automatically add an account to the database called
admin
with the password ofPassword.1234
. -
Update your database with the menu items you want.
There, that should have given you a basic idea on how to setup this project.
This project is under the MIT license. See the LICENSE.md file for more information.
If you just copy this project to slap into your assessment cause you got a similar assignment task, then your a cunt, and per the license, I take no responsibility for you getting called out on it, if you do. If you are a teacher that wants to use this as a demonstration or some shit, then go ahead.