Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lbaiyat/portshipmentsdashboard

This is a Full Stack application using C# ASP.NET, SQLite, and React.js to display tables and visuals for port shipment data. [DOCUMENTED]
https://github.com/lbaiyat/portshipmentsdashboard

aspnet csharp d3 dashboard full-stack reactjs rest-api sqllite3

Last synced: 20 days ago
JSON representation

This is a Full Stack application using C# ASP.NET, SQLite, and React.js to display tables and visuals for port shipment data. [DOCUMENTED]

Awesome Lists containing this project

README

        

Port Shipments Dashboard




Table of Contents




Overview:



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.



Instructions:


Getting this application running is seperated into two parts:



  • Initializing the API and SQLite database

  • Initializing the UI


API and Database Setup


Running the API



Run the dotnet API from the /api directory

```bash
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.


Loading the Database

You can load the csv data into the database table by running the commands below.

```bash
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.


UI Setup



Running the UI



Run the React UI from the /ui directory in a separate terminal.

```bash
cd ui;
npm run start;
```


Accessing the Application


Once the API and UI are both running, you should be able to access the webpage hosted by the React application.


Pages:


Shipment Data



Displayed in this page is the shipment data from the Shipments table.


Analytics Dashboard


Displayed in this page is analytics and displays for the shipment data.