Skip to content

kosmikgirl/frontend-coding-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Please start by initializing a local Git repository and making an initial commit with these files. As you progress through the codding challenge commit as often as possible, we want to see the progression of the code over time.

The assignment

Implement all or some of the following features in the order of your preference.

  • Populate the list with data from Service.getTenants.
  • Ability to filter the list using the tabs above the table
  • Ability to sort the list by clicking on the table column headers
  • Ability to add a tenant to the list using the form below the table and using Service.addTenant. Ideally the form is hidden by default and is displayed when clicking on the Add Tenant button.
    • Validate tenant.leaseEndDate is in the future
    • Validate tenant.name length is less than or equal to than 25 characters
  • Ability to delete a tenant by clicking on Delete and calling Service.deleteTenant

Service.js is an API mock. You don't need to modify it for any reason other than possibly fiddling with the data it provides.

You have 2 hours to hand over the results. Ideally you would implement the basic features in about 1 hour and use the remaining time to clean up the code, add some bells and whistles to the UI and possibly a few unit tests.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published