ogrodev/test-deliver

★ 0Forks 0JavaScriptGitHub ↗Compare

README

DeliverIT Test

Feedback Panel

This panel was proposed to simulate a situation where we could give feedback to colleagues in a company, but everyone would have administrative levels, being able to remove feedbacks and give as many likes as they like. This panel was proposed to simulate a situation where we could give feedback to colleagues in a company. company, but everyone would have administrative levels, being able to remove the feedbacks and give as many likes as they want.

Badge Demo

Libs e Frameworks used

1. Table of Contents

2. Localhost reproduction

  1. Clone Repo
git clone https://github.com/SweetSoul/test-deliver.git
  1. Enter new folder
cd test-deliver
  1. Run npm start
npm start
  1. Access localhost in port 3000 to view the application running

3. Hosting reproduction

  1. Clone Repo
git clone https://github.com/SweetSoul/test-deliver.git
  1. Enter new folder
cd test-deliver
  1. Run build
npm run build
  1. Copy build folder to your preference host. (It will only work if you put it into root folder)

3.1. Folder different from root in hosting

If you need to host it inside folder hierarchy in hosting follow these two steps below

  1. Edit package.json inside test-deliver
"version": "0.1.0",
"homepage" : "https://yourdomain.com/yourFolder", // <-- Add this line
"private": true,
  1. Edit routes.js inside test-deliver/src
<BrowserRouter basename={'/yourFolder'}> /* Add basename={'/yourFolder'} */
    <Switch>
  1. Run build
npm run build

4. Known Issues

  • This project uses mockApi to fake the Api Results and they have some limits of inserting data (as you can see here), if you try to add a new feedback and nothing happens, just remove some feedbacks and try again.

Contributors

ogrodev

Issues