This is a full-stack application created using an ASP.NET back-end, React.js front-end, with additional technologies and frameworks. The application itself is a dashboard that displays data and analytics for international port shipments.
Getting this application running is seperated into two parts:
Run the dotnet API from the /api directory
cd api;
dotnet run;
Running the dotnet API for the first time should restore the dotnet package references, initialize the sqlite database, and run the database schema migrations.
You can load the csv data into the database table by running the commands below.
sqlite3 myapp.db;
.read sql/loadCsvData.sql
Once the API is running and the database table has been loaded, the API endpoints should now be working.
Run the React UI from the /ui directory in a separate terminal.
cd ui;
npm run start;
Once the API and UI are both running, you should be able to access the webpage hosted by the React application.
Displayed in this page is the shipment data from the Shipments table.
Displayed in this page is analytics and displays for the shipment data.