ohsweetmani / prep-project2-23.APR.PREP.1

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

Home Page:https://mlh-prep-23-apr-prep-1-project.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. n 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

https://mlh-prep-23-apr-prep-1-project.netlify.app/

License:MIT License


Languages

Language:JavaScript 61.2%Language:CSS 24.2%Language:Go 9.7%Language:HTML 4.9%