Skip to content

Flowake/test-tilt-energy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Tilt Energy

Running

To run the frontend and backend, just run the following command:

docker compose up -d && docker compose logs -f

The platform will be available at http://localhost:3000.

Technologies

This project uses SvelteKit for the frontend and FastAPI for the backend, as well as PostgreSQL as the database.

Choices

It is wanted that users can choose the same appliance multiple times, and this is accounted when computing the consumption per appliance.

The displayed consumption is for all the appliances of the same type combined.

As the results page can be used to display any previous simulation, in real-world scenario there might be bad actors that could scrap the results of other users. It would be possible to use very long ids to prevent it.

The user email is not returned from any endpoints to prevent leaking personal information.

Finally for a given list of appliances and total consumption, there might be multiple combinations of individual consumption that would result in the same total consumption. In this case, the first combination found is returned.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •