This project was bootstrapped with Create React App.
This project uses Minimal Free.
Install required javascript packages
Yarn is the recommended package manager.
npm install --global yarn
or
brew install yarn
yarn install
If you encounter an error, check current Node version and install current Node LTS version instead if different. You will then need to unlink current version and relink new version.
eg for Node 10 (with Homebrew)
```console
brew unlink Node
brew install Node@10
brew link Node@10 --force
brew node --version (to check it is linked)
- Install and enable the ESLint extension.
- Install and enable the Prettier extension but don't use Prettier as defaultFormatter.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3001 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.
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.
- Clone this repository and push into your own Github workspace as a public repository (You can create a new Github account if you do not have one yet).
- DO NOT FORK as to not share your exam with other candidates.
- Create a new branch to push your changes into and name it
exam/[yourLastName]. - Task Description:
- Go through the setup instructions above to be able to Run the app in the development mode on your computer
- Create a "companies" entity and a basic CRUD for it
- You can use the Users page as reference, just create your own mock data for 5 records with properties:
name,descriptionandvip - Description is not required when creating or updating companies
- Should use React Hooks and store in Redux same with Users
- Once done, create a Pull Request to the main branch of your repo then reply to the sender of the exam email only with the URL for your public repo/PR.