Documentation • Wiki • Contributing • Contact
.NET Core 3.1 API service for Fontys Internal Packages.
docker-compose up --buildNote
Make sure that you are in the directory of docker-compose.yml when running these commands.
I use Azure Data Studio to do this, but you can also use any other database program compatible for sql server.
In docker-compose.yml you can see that port 1433 is exposed on the MSSQL container. You can connect to this database with the following properties:
| Property | Value |
|---|---|
| Server | localhost |
| Authentication type | sa |
| Password | Your_password123 |
| Database | <Default> |
| Server group | <Default> |
POST: http://localhost:5001/api/Packages
{
"ReceiverId": "1",
"TrackAndTraceId": "1",
"CollectionPointId": "1",
"Sender": "Cheese Factory",
"Name": "1KG of hot cheese"
}POST: http://localhost:5001/api/Packages
{
"ReceiverId": "2",
"TrackAndTraceId": "3",
"CollectionPointId": "3",
"Sender": "Apple",
"Name": "10x Ipads"
}GET: http://localhost:5001/api/Packages
