Web app for data visualization of CO² emission analytics. It presents a calendar picker for start and end period date, and displays a table with the modeled data.
Application with responsive UI built with JavaScript, Vue 3, Nuxt.js using an Express.js middleware. PostgesSQL was the dabase used.
- Make sure Postgres is running
- Create database
homeworks
- Create user
test
with passwordTestUser
- Grant all privilegies to
test
on databasehomeworks
- Default postgres host and port are:
localhost:5432
- custom values can be used with env varsPGHOST
andPGPORT
- Make sure to create the
co2_emission_analytics
schema and load the data fromco2_emission_analytics.shipments.dmp
andco2_emission_analytics.shipment_co2_emissions.dmp
(not included in the repo)
# install dependencies
$ npm install
# run project
$ npm run dev
App will be running on port 3000