To run the application you have to create .env
file basing on .env-example
file. To create a Geoapify API key go https://www.geoapify.com/get-started-with-maps-api. Then just run npm start
- The app is created with create-react-app and uses CSS modules
- The app uses Geoapify instead of Google Places to address autocomplete - the only reason is I didn't have to provide credit card information to generate API key.
- The Geoapify library doesn't provide any error handling, so I left it as it is.
- The styles of the application are not pixel perfect because the design was just a simple picture without any details provided.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.\
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!