- Git
- Html
- Css
- C#
- Asp.NET Core MVC
- Entity Framework Core
- .NET6 Framework
An MVC application that can be used in getting the top stories on the new york times.
-
Clone the Repository: Open your Git Bash terminal and run the following command to clone the project:
git clone _REPOSITORY_NAME_
-
Install .NET 6.0 Framework: Ensure you have the .NET 6.0 Framework installed (used .NET 6.0.402 for this application) on your PC. Make sure you have completed the essential steps to write C# code in the REPL.
-
Create
appSettings.json
: After cloning the repository, you need to create anappSettings.json
file in the root directory of the project. Be sure to create it in the production directory of your project (ToDoList.Solution/ToDoList/appSettings.json
). Use the following template for yourappSettings.json
:{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "NYT": "[YOUR-KEY-HERE]" }
Replace "[YOUR-API-KEY-HERE]" with your own API key.
-
Build and Run the Application:
- To Install all Packages used and Migrations, run the command:
dotnet restore
-
If you're not interested in seeing the build messages, run the following command to build and run the application:
dotnet run
This command builds and runs the application for you.
-
If you are interested in seeing the build messages, follow these steps:
-
Build the Project: Run the following command to build the project and add the essential directories to execute the application:
dotnet build
-
Run the Project: After building the application, run the following command to see all of the results outputted into the console:
dotnet run
-
Project in development mode: If you would love to make changes to the Application, feel free since its licensed under the GNU General Public License. To make changes to app and run app at the same time, use the command:
dotnet watch run
-
- No detected bugs
Licensed under the GNU General Public License
- Email: emzzyoluwole@gmail.com
- Instagram: @Emmanuel.9944
- Twitter: @Emzzy241 and Profile Name: Dynasty
- Github Username: Emzzy241