Skip to content

ContentHouse/exam-contenthouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

This project uses Minimal Free.

Setup

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)

VSCode Development

  • Install and enable the ESLint extension.
  • Install and enable the Prettier extension but don't use Prettier as defaultFormatter.

Available Scripts

In the project directory, you can run:

yarn start

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.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

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.


Exam Instructions

  1. 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).
  2. DO NOT FORK as to not share your exam with other candidates.
  3. Create a new branch to push your changes into and name it exam/[yourLastName].
  4. 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, description and vip
    • Description is not required when creating or updating companies
    • Should use React Hooks and store in Redux same with Users
  5. 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.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors