mgehlott / Solvative_task

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sovative_task

Getting Started

You can run project in your local machine after cloning repo

cd backend npm i npm start

new terminal

cd frontend npm i npm start

Problem Statement

Live Reviews allows users to add/edit/remove review and view all reviews with live feeding.

Completed

A button to create new review - clicking on which user will be redirected to /new/ route Basic Table layout with all reviews Table should have 6 columns: #, Title, Content, Date-time, Edit, Delete

- Static count number starting with 1

Edit - a edit button, clicking on which user will be redirected to /:id route Delete - a delete button, clicking on which review will be deleted Show each review in separate row Latest review should be displayed first

New Review (route = /new) 1 input for title 1 textarea for content Save button - saves the review, and redirects user back to list view, i.e. route / Reset button - resets the review content and title Cancel button - redirects user back to list view, i.e. route / Edit Review (route = /:id) Re-use the same component from New Review Pre-fill the title and content from the existing review Delete button - deletes the review, and redirects user back to list view, i.e. route /

About


Languages

Language:HTML 58.4%Language:JavaScript 28.8%Language:CSS 12.8%