- Download and install the lates version of ASP.NET Core Runtime 6 from the official Mircosoft website
- Clone the project or download the WireDev.Erp.V1.Api folder
- Unpack the archive if not already done
- Open the folder in your terminal or run
cd your-location/WireDev.Erp.V2024.Api
(replayceyour-location
) - Trust the SSL certificate with
dotnet dev-certs https --trust
- Run the API with
dotnet run
(ignore warnings) - Get the used port from the log
- Go to
https://your-ip:port/swagger/index.html
to see Swagger UI or just usehttps://your-ip:port/api
to send HTTP-Requests (replaceyour-ip
undport
) - Log in at
https://.../Authenticate/login
with username:admin
and password:Admin#1234
to get your JWT - Use your JWT in Swagger UI or in the authorization-header in all your requests
- Download sample data from here or go to
/WireDev.Erp.V1.Api.Test/
and copy the contents ofsample-data.json
- Log in into your API account or create a account
- Create a new request at
/Misc/setup/
with the contents of thesample-data.json
in the body. The API should returnHTTP-200
.
If problems with the database occure, visit https://help.wiredev.de