Skip to content

muratmelih/rate-review-modal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate and Review Modal App

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.

Code Structure

image

Application consists of 3 components, -Rate modal component -Rate input component -Review component

Running application

Application opens with modal, and asks user for rates image

After rating is done, review modal is opened image

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

image

For Tests

Used jest for unit testing. I added some unit tests for components and service methods image

Available Scripts

In the project directory, you can run:

npm start

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.

npm test

Launches the test runner in the interactive watch mode.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published