π₯FoodServiceMVC
Introduction
FoodServiceMVC is a .NET MVC application that serves as the frontend for the FoodServiceAPI. It allows users to perform various operations related to the food service, such as user authentication, managing food orders, and viewing menus. The frontend communicates with the backend API to retrieve and update data.
Requirements
To use FoodServiceMVC, you need to have:
FoodServiceAPI (running and accessible)
FoodService.Models (shared models between API and MVC)
Installation
Follow these steps to set up and run FoodServiceMVC:
Clone the repository:
git clone https://github.com/Org-FoodService/FoodServiceMVC.git
Open the project in Visual Studio or your preferred code editor.
Ensure that the
BASE_URL_API
environment variable is correctly configured in either theappsettings.json
orlaunchsettings.json
file. This variable should point to the running instance of FoodServiceAPI. For example:// appsettings.json "BASE_URL_API": "https://localhost:7259/"
// launchsettings.json "profiles": { "FoodServiceMVC": { "environmentVariables": { "BASE_URL_API": "https://localhost:7259/" } } }
Build and run the application.
Getting Started
Once the application is running, you can navigate to the login page to authenticate yourself. After successful authentication, you will be able to access various features of the FoodService application through the user interface provided by FoodServiceMVC.
Last updated