This application allows a user to log into a web application via Google OAuth. After logging in, the user is required to set a base url and api key targeting the WeatherStack API base. After the settings are set, the user can now type in cities from around the world retrieving general weather information
- React
- TypeScript
- Redux Toolkit (State Management)
- React Router
- Google OAuth
- Axios
- Vitest
- React Testing Library
- Open a terminal instance
cd client
directory- create an
.env
file and populate it with values from.env.sample
npm install
npm run build
- A dist file should be generated which will be served by the server
- WeatherStack base Url
https://api.weatherstack.com/current?access_key=
- WeatherStack API Key can be generated via a Free Account
- To run tests, in your terminal run
npm run test
- Open another terminal instance
cd server
directory- create an
.env
file and populate it with the values from.env.sample
npm install
npm run start
- Open a browser and go to
localhost:(3010|3000)