Skip to content

WireDev-IT/WireDev-ERP-2024

Repository files navigation

WireDev ERP 2024

How to run (debug)

  1. Download and install the lates version of ASP.NET Core Runtime 6 from the official Mircosoft website
  2. Clone the project or download the WireDev.Erp.V1.Api folder
  3. Unpack the archive if not already done
  4. Open the folder in your terminal or run cd your-location/WireDev.Erp.V2024.Api (replayce your-location)
  5. Trust the SSL certificate with dotnet dev-certs https --trust
  6. Run the API with dotnet run (ignore warnings)
  7. Get the used port from the log
  8. Go to https://your-ip:port/swagger/index.html to see Swagger UI or just use https://your-ip:port/api to send HTTP-Requests (replace your-ip und port)
  9. Log in at https://.../Authenticate/login with username: admin and password: Admin#1234 to get your JWT
  10. Use your JWT in Swagger UI or in the authorization-header in all your requests

Import test data

  1. Download sample data from here or go to /WireDev.Erp.V1.Api.Test/ and copy the contents of sample-data.json
  2. Log in into your API account or create a account
  3. Create a new request at /Misc/setup/ with the contents of the sample-data.json in the body. The API should return HTTP-200.

If problems with the database occure, visit https://help.wiredev.de

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages