The goal of this task is to test your ability to test, refactor and implement new functionality on a given system. Note that this repository does not represent the actual code of CGTrader, but only acts as a testing ground.
Imagine the situation where management assigns you a task. Management wants you to implement basic MVP functionality for the marketplace. User should be able to navigate between home page, product page and cart page, add multiple items to the cart and see the total amount for payment.
- Implement MVP cart functionality
- Refactor implementation code and tests where you see fit. You have as much freedom here as you wish
- Take UI and UX in consideration. Improve the layout and styles using css/scss
- Make sure test suite runs through all of the tests successfully
- You can spend as much time as you want.
- You may refactor not only the application code, but the tests too. Keep in mind that test code is still code that needs to be maintained.
- Use git to track your changes. Fork or clone this repository and commit often.
- When finished, send us the link or the zip of the project via e-mail.
Good luck!
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.