A REST Api backend for Carbon Calculator project.
Run the command "npm install" and create a ".env" file in the root path with contents from ".env.example".
Implements routing and main interface controller for HTTP requests.
A mockup sets of data for compatibility with future databases.
An abstraction layer for ORM architectures.
Implements the main logic for data handling, storage and query for real databases, and helper utilities services.
The approach was to build a calculator with the capacibility to handle any categories or subcategories (usages), making it scalable and easier to add more information, and with support for any unit measures input.
- TypeScript
- ExpressJS
- decorators/express