Skip to content

minska-br/carbon-footprint-engine

Repository files navigation

Life Cycle Assessment Api ktlint

Carbon footprint calculator for products focused on the food industry ๐Ÿ”

Installation and Requirements โ€ข How to run โ€ข Api documentation โ€ข Architecture โ€ข License

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Installation and Requirements

These instructions will get you a copy of the project up and running on your local machine for development. Before we install the application we need these systems and tools configured and installed:

It is very easy to install and upload the application. Just follow the steps below and everything will be fine! ๐ŸŽ‰

Application

git clone https://github.com/thalees/carbon-footprint-calculator
cd carbon-footprint-calculator

Open your favorite IDE and build the project using gradle:

./gradlew build

Docker

To run the calculation flow it is necessary to go up and configure the infrastructure and create the queue that will be used by the application. To mock AWS services we are using localstack and for the database we are using MongoDB. To run it, just run the command below:

docker-compose up -d

After the localstack container has successfully uploaded, create the queue in SQS using the make command:

make create-queue

How to run

After performing the initial setup, just run the application:

./gradlew run

Your application will be running on localhost:8081

Api documentation

This project has all its endpoints documented in Postman as a shared collection, to get a copy of its endpoints, just click the link below:

Run in Postman

Architecture

TODO

License

This project is licensed under the MIT License - see the LICENSE file for details.


Thanks and good tests ๐ŸŽ‰

bye

About

Carbon footprint calculator for products focused on the food industry ๐Ÿ”

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages