The backend server needed to run the ShipVista Plants Assessment which can be seen here
- .NET Core(Web API) (REST API)
- PostgreSQL (Open Source Relational Database) (not needed to run on local machine)
- GIT (version 2.x and above)
- Visual Studio (version 2019 and above) (configured with the .NET package, community edition is fine) (go here to install visual studio with .NET)
- PostgreSQL (latest version would be fine) (click here for installation instructions)
Clone the repository to your computer.
git clone https://github.com/joshADE/Plant-Watering-App-Backend.git
- Open the project directory.
- Open the .sln (solution) file with Visual Studio to restore the necessary NuGet packages required for the project.
- No RDBMS is required to run the project as the data is kept in memory.
- Build the project by navigating to Build > Build Solution and make sure that there are no errors.
- Press the green play button (IIS Express)
Open up https://localhost:44321/api/plants in a browser to see the app. (You can use part of the url 'https://localhost:44321/api/' to connect to the front-end of the app linked above). You can also visit https://localhost:44321/swagger/ to see list of all the endpoints and interact with them.