This project is a simple rate and review modal developed with React and with TypeScript.Application has no dependencies and I haven't used any other frameworks or plugins. All plugins are developed by my self. Application satisfies all the functional requirements. For styling, sass is used, and application is full responsive. You can find live demo of the application in below link:
[https://rate-review-modal.herokuapp.com/] Demo Link !!!If demo link is broken, please refresh a couple times, Heroku may take time to build and run the applicaton.
Application consists of 3 components, -Rate modal component -Rate input component -Review component
Application opens with modal, and asks user for rates
After rating is done, review modal is opened
If user closes the modal without submitting, the modal reopens when page is reloaded, if user submits and refreshes page, modal will not be opened and data will be saved in local storage, but you can click the button on the page and local storage will be removed and modal will be opened
Used jest for unit testing. I added some unit tests for components and service methods
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.