Implement Create, Search, Edit, Delete operations for a list.
Used ReactJS and TypeScript. This project uses Bootstrap 4 and Fontawesome 5.
Bank model for bank account list items, here is an example:
- Account Holder's name ("Gregory House", "Elliot Alderson")
- Employee name ("Dr. Gregory House", "Mr. Robot")
- Bank name ("Citibank", "JP Morgan Chase")
- Branch name ("LA Central", "Branch 42")
- Account type ("Savings", "Checking")
- Account number ("0000042", a number up to 7 digits, zero-left-padded)
- Employee number ("012345678901234", a number up to 15 digits, zero-left-padded)
- Last update ("2019-Mar-19 18:14", a datetime)
Create/Edit operation should be implemented as a "Wizard" - a multi-step editing using modals, or without them such as in this example: link.
Implement at least two steps. For example, I followed these steps:
- Bank name and bank branch name input.
- Account holder's name, account type, account number input.
- Employee name, employee number input.
- Confirmation step that presents information input in previous steps to preview before saving.
On the list view, added any type of Search criteria.
List view should be sortable by any field displayed in the list view.
Using a checkbox column for selecting the items, and a "Delete" button below the list. Pressing the delete button will display a delete confirmation modal showing a summary of the items to be deleted and "Cancel" and "Confirm" buttons.
Uses GraphQL for server.
Uses Jest for covering your ReactJS app, and a corresponding tooling for the Backend.
Please share the link to your GitHub repository for this task. The repository should contain a short README.md with a link to a deployed application and a brief summary of how much time it took to implement the task. ("Frontend: 8 hours, Backend: 3 hours, Deployment: 0.5 hours").
In the project directory, you can run:
Install node modules
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.
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.