Skip to content

ttn-ttn/prep-project-23.APR.PREP.1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLH Prep Project

Over the next 2 weeks, you'll be building a React App that works with various APIs (Application Programming Interfaces) that talk to different data sources to do cool stuff.

We're using the OpenWeather API to get weather data on different cities. Your challenge over the next 2 weeks is to build out this website and add even more functionality to it. At the moment, it displays basic information about a location when you type it in. Check out Issues for some more ideas!

You'll need to get your own API Key from their website (for free) and add it as an environment variable in a .env file. We have a template available as example.env.

You'll be using React initially to build this. If you're new to React, check out the website for some information on getting started!

Development setup

  • Install the Go compiler: https://go.dev/doc/install
  • Install netlify-cli: npm i -g netlify-cli
  • Switch to the repository and install the dependencies: npm install
  • To run the project: netlify dev

Troubleshooting:

  • Make sure the Go compiler is installed and working. Running go version should print the current version in that case.
  • Delete node_modules and run npm install again
  • Make sure you have the variable REACT_APP_APIKEY set to your Openweathermap API key in .env
  • Do a fresh clone from Github and do npm install and netlify dev again

About

MLH Prep Project for Pod 23.MAR.PREP.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 63.0%
  • CSS 28.7%
  • Go 5.5%
  • HTML 2.8%