This repo adds new features to a boilerplate app setup with React and Redux on the Front-End, and an Express API on the Back-End. I used a GitHub project board to help manage my tasks and stay organized.
Stephanie Norton: GitHub | LinkedIn
- Clone this repository to your local machine
- CD into this repo's directory
- Run npm install
- Run npm run dev to start server
- Run npm start
- In your browser navigate to localhost:3000 (or whichever port is provided)
- Users can add new location markers to the map by submitting the form with valid inputs. If a users submission contains an invalid value, a message will render to let them know that there was an issue with the request and inform them of the requirements for each input field.
- When a user successfully submits a new location a marker will appear on the map at the location coordinates and the map will re-center around the new marker.
- The new location is posted to the API so it will persist when the user refreshes the browser.
- Users can create shapes on the map by clicking on a marker. The markers coordinates will be used as a point for a polygon. Successive clicks will add markers to the polygon and clicking on a point of the polygon will remove it from the polygon.
- And don't worry, you won't loose your art! Polygons will persist (for as long as the Express API allows).
- Improve the error message, make it specific as to what caused the error.
- Clear the form input fields after successful submission.
- Add tests w. React Testing Library, Jest, Redux mock store.
- Host the application.