GithubHelp home page GithubHelp logo

eluckie / open-weather-api Goto Github PK

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

Making API Calls with JavaScript - Made During Week 6 at Epicodus Coding School

JavaScript 86.63% CSS 0.73% HTML 12.64%

open-weather-api's Introduction

Open Weather API

Making API Calls with JavaScript

By Eliot Gronstal

Technologies Used

  • Javascript
  • APIs
  • Github
  • Wepback
  • Babel

Description

Making API Calls with JavaScript - Made During Week 6 at Epicodus Coding School

Setup/Installation Requirements

  • Anyone who wants to clone and use our application can simply create their own local .env file with their own API key.

Next, let's create a .env file in the root directory of our project where we can store our sensitive variables:

Next, we'll use a webpack plugin called dotenv-webpack to make our environmental variables available inside our application:

Once again, when you push projects to GitHub that require API keys, make sure to include instructions in the README so that other users can clone your project and use their own API keys to see what you've built. That means including all steps for getting a key โ€” from the link to sign up for an account to any steps to getting an API key to the name of the API key variables that should be added to the .env file. Including accurate instructions for getting and setting up an API key is a requirement for this section's independent project.

(Rewrite this and edit so you can copy/paste on Friday.)

  • to list setup instructions

  • in a simple

  • easy-to-understand

  • format

  • Worth noting for non-Mac users: in the package.json "scripts" for lint: line 9's has an extra " ' " surrounding src:... which allows es lint to access files recursively "lint": "'eslint src/*.js'",

Known Bugs

  • None known yet
  • Please reach out to Eliot with any questions or concerns at: [email protected]

License

MIT

Copyright (c) 2023 Eliot Gronstal

open-weather-api's People

Contributors

elgrons avatar

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.