Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sahajrajmalla/co2-calculator-api
A Web Application backend API that enables people to create events, join events, and measure the carbon footprint produced by each participant to get insights about online and onsite carbon emissions.
https://github.com/sahajrajmalla/co2-calculator-api
apis carbon-emissions carbon-footprint fastapi makefile numpy pandas precommit sqlalchemy sqlite3 uvicorn
Last synced: about 2 months ago
JSON representation
A Web Application backend API that enables people to create events, join events, and measure the carbon footprint produced by each participant to get insights about online and onsite carbon emissions.
- Host: GitHub
- URL: https://github.com/sahajrajmalla/co2-calculator-api
- Owner: sahajrajmalla
- License: mit
- Created: 2022-08-05T00:19:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T20:13:42.000Z (over 2 years ago)
- Last Synced: 2024-01-30T07:00:30.691Z (11 months ago)
- Topics: apis, carbon-emissions, carbon-footprint, fastapi, makefile, numpy, pandas, precommit, sqlalchemy, sqlite3, uvicorn
- Language: Python
- Homepage: https://co2-calculator-sahajrajmalla.herokuapp.com/docs
- Size: 12.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# co2-calculator-api
## Project Initialization
### Clone the project
```bash
git clone https://github.com/sahajrajmalla/co2-calculator-api.git
```
### FastAPI
Open your terminal and apply these commands.
```bash
cd co2-calculator-api
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements-dev.txt
uvicron main:app --reload
```This will initialize and run your FastAPI application in localhost on port 8000.