Skip to content

ITRI internship, carbon emissions project demo with Vue and Fastapi.

Notifications You must be signed in to change notification settings

IsFolk/Carbon_Emission_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Carbon emission calculator

This is a group project from Industrial Technology Research Institute internship project.

(I have consulted with my supervisor regarding whether it can be included as part of my portfolio.)

Description

Carbon emissions project demo with Vue and Fastapi running on AWS EC2.

  • yml, Dockerfile: for Docker setup
  • frontend: write with Vue3 & Typescript
  • backend: write with Fastapi(Python)

We all use open-source data.

Demo video:

https://youtu.be/N4bZNW1D6_4

Everything Is AWESOME image image

Constructs

Backend: Fastapi

  • Python environment
fastapi==0.82.0
joblib==1.1.0
pydantic==1.9.2
starlette==0.19.1
uvicorn==0.13.4
scikit-learn==1.1.2
  • Dockerfile: set environment, running in port 5000
  • src/main.py : router to deal with data
  • src/models/*.pkl: put model to test (.pkl file)

Frontend: Vuejs + TypeScript

  • Vue3 with TypeScript
  • Dockerfile: set environment, running in port 80

Command to build docker image

docker-compose up -d --build

About

ITRI internship, carbon emissions project demo with Vue and Fastapi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published