This project is under development, and this README isn't finished. I'll try to update is as soon as possible..
FasTnT is a simple, lightweight GS1 EPCIS 1.2 repository written in C# using .NET Core 2.1, backed with PostGreSQL database.
Prerequisites:
- PostGreSQL 9.5 or higher
- .NET Core 2.1 SDK
Steps:
- Download the source code, and create a new user/database in PostGreSQL for FasTnT;
- Update the
FasTnT.Database
connection string in the projectFasTnT.Host
with your PostGreSQL connection string; - Set
FasTnT.Host
project as startup project, and start the solution - Make the following request to create the SQL schemas and tables:
curl -X POST http://localhost:54805/Services/1.2/Migrate
(the port number may change depending on your configuration) - That's it! You have a properly working EPCIS 1.2 repository.
- Event capture:
/Services/1.2/Capture
- Queries :
/Services/1.2/Query
- Database migration:
/Services/1.2/Migrate
The file documents\EPCIS_Samples.postman_collection.json
contains examples of HTTP requests that you can perform on FasTnT (import and run it in PostMan)
The default username/password for the API services is APIUser
/ApiP@ssw0rd
.
- Event capture
- Queries:
- GetVendorVersion
- GetStandardVersion
- Poll SimpleEventQuery (still a few parameters missing)
This project is licensed under the Apache 2.0 license - see the LICENSE file for details
Last update: december 2018