Coder Social home page Coder Social logo

construction-on-rent's Introduction

Construction Machine management

Hosted URL

Application is deployed here to quickly review the output.

https://visionary-shortbread-ac7953.netlify.app/types Screenshot 2022-08-22 at 10 08 20 AM Screenshot 2022-08-22 at 10 08 27 AM

Tech Stack

  • Typescript
  • ReactJs
  • Redux and Redux Toolkit
  • TailwindCss
  • React Testing Library

Local Setup

  • Clone or Download the repo.
  • Run npm install inside the directory.
  • Run npm start to spin up the local dev setup.

Tasks

  • Created the UI
  • Staff member can create different machine types
  • Staff member can specify which attributes the machine type has
  • Available attributes are date, text, checkbox or number
  • Staff member can able to remove attributes that are no longer required
  • All machines of one type share attributes
  • Staff member can pick one of the attributes as a title attribute for the machines of one type (For eg. model).
  • Staff member can set a title for a machine type (Chainsaw, Bulldozer, ...)
  • Staff member can able to add new machine types as well as to edit or delete existing ones at any time
  • Staff member can have many machines of each machine type ( for example 6 chainsaws from different brands that have different characteristics)
  • Staff member can able to filter by machine type (See all chain saws, all bull dozers, ...).
  • Staff member can able see all machines grouped by their type on one screen
  • Staff member can able to add new machines as well as to edit or delete existing ones at any time
  • Staff member can use URL navigation
  • All data will be saved even after page reload
  • Staff member can able to use the app on mobile phone or tablet as well as on the computer

Test Cases

npm test for running unit test cases

Due to shortage of time, I wasn't able to write much of the test cases but I have written and you can review them for the reducer in MachineTypingSlice.spec.ts file and for components under /components directory.

Alt Text

I hope you will enjoy reviewing the code as much as I enjoyed while writing it ❤️

construction-on-rent's People

Contributors

sarabs3 avatar sarabs3js avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.