Giter VIP home page Giter VIP logo

mattburnett-repo / pv-estimate Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 258 KB

A small AWS proof-of-concept project that retrieves photovoltaic electricity production (solar panels) estimates from a third-party API

Home Page: http://pv-estimate.s3-website.eu-north-1.amazonaws.com/

JavaScript 22.05% Dockerfile 0.93% HTML 7.38% TypeScript 27.66% CSS 41.82% Shell 0.17%
api-gateway aws iam lambda-functions react s3 solar-energy third-party-api

pv-estimate's People

Contributors

mattburnett-repo avatar

Watchers

 avatar

pv-estimate's Issues

Enhance frontend app functionality

Add lat / long / etc options to the frontend app.

This will require update to 'fetchEstimate' Lambda function, specifically the formulation of the URL for the API call.

Figure out how extensively the validation for this will need to be.

CodeCommit

Look into AWS CodeCommit as an alternative repo / CICD solution.

Intermittent CORS error

Sometime the following happens, sometimes not:

"Access to XMLHttpRequest at [API Gateway ARN] from origin [React App URL] has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

It looks like everything is configured correctly. Of course that could be mistaken, and instead there is some small detail that goes unnoticed. However, it doesn't make sense that this error appears intermittently. It should either work or fail, with no "in-between".

[several paragraphs of diagnostic process deleted]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.