This is a Web API project built with .NET 8 and C#. It does not have authentication or authorization implemented. This API is consumed by Blazor, ReactJS, and MVC sites. Future enhancements are planned, including the addition of SQLite and Entity Framework.
Before you begin, ensure you have the following installed on your machine:
- .NET 8 SDK
- Visual Studio or any other preferred code editor
Follow these steps to set up and run the Web API project:
-
Clone the Repository:
git clone https://git@github.com:enova1/WebApi.git
-
Open the Solution in Visual Studio:
- Open Visual Studio.
- Navigate to File > Open > Project/Solution.
- Select the
.sln
file from the cloned repository.
-
Build the Solution:
- Once the solution is loaded, build the solution to restore dependencies:
Ctrl + Shift + B
- Once the solution is loaded, build the solution to restore dependencies:
-
Run the API:
- Set the API project as the startup project.
- Press
F5
or click on the Start Debugging button to run the API.
-
Test the API:
- Once the API is running, you can test its endpoints using tools like Postman or by consuming it from my Blazor(https://github.com/enova1/Blazor), ReactJS (https://github.com/enova1/ReactJS), or MVC (https://github.com/enova1/MVC) example sites.
- Add SQLite: Future enhancements include adding SQLite as the database provider for the API.
- Implement Entity Framework: Entity Framework will be implemented for data access and management in future iterations.
- Contributing: If you find any issues or would like to contribute to the project, feel free to create a pull request or open an issue on GitHub.
For any questions or issues, please feel free to reach out to lazer8701@gmail.com.