Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 2.7 KB

README.md

File metadata and controls

81 lines (65 loc) · 2.7 KB

MVC Api Call

made by Mojiboye Emmanuel(Dynasty)

An MVC application used in making APO Calls

Technologies Used

  • Git
  • Html
  • Css
  • C#
  • Asp.NET Core MVC
  • Entity Framework Core
  • .NET6 Framework

Description

An MVC application that can be used in getting the top stories on the new york times.

Setup/Installation

  1. Clone the Repository: Open your Git Bash terminal and run the following command to clone the project:

    git clone _REPOSITORY_NAME_
  2. 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.

  3. Create appSettings.json: After cloning the repository, you need to create an appSettings.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 your appSettings.json:

    {
        "Logging": {
            "LogLevel": {
            "Default": "Information",
            "Microsoft.AspNetCore": "Warning"
            }
        },
        "AllowedHosts": "*",
        "NYT": "[YOUR-KEY-HERE]"
        }

    Replace "[YOUR-API-KEY-HERE]" with your own API key.

  4. 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:

      1. Build the Project: Run the following command to build the project and add the essential directories to execute the application:

        dotnet build
      2. Run the Project: After building the application, run the following command to see all of the results outputted into the console:

        dotnet run
      3. 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

Detected Bugs/ Issues

  • No detected bugs

License

Licensed under the GNU General Public License

Contact Info

  • Email: emzzyoluwole@gmail.com
  • Instagram: @Emmanuel.9944
  • Twitter: @Emzzy241 and Profile Name: Dynasty
  • Github Username: Emzzy241