Code Monkey home page Code Monkey logo

equipment-watchdog's People

Contributors

kordondev avatar

Stargazers

 avatar

Watchers

 avatar

equipment-watchdog's Issues

Implement equipment

Equipment

  • with type, storeId and id
  • helmet
  • Jacket
  • Trousers
  • boots
  • gloves

Todos

Backend

  • Endpoint to create equipment
  • Endpoint to get equipment by id
  • Endpoint to get equipment by type
  • Endpoint to delete equipment

Frontend

  • List of equipment by type
  • Create equipment
  • Delete equipment

Order equipment

  • new equipment without id but assigned to a member in order state, with date
  • remove order state and equip to member

Backend

  • replace equipment of member with ordered equipment
  • Order equipment for member
  • Get all orders
  • Get single order
  • Delete order
  • Order can be fulfilled

Frontend

  • Order equipment for member
  • Get all orders for a user
  • Show nice dates and none if IsZero
  • Show single order and move to member

Add equipment to member

Backend

  • Get equipment of member
  • Add equipment to member
  • remove equipment from member

Frontend

  • Show equipment of member
  • Add equipment to member
  • remove equipment from member
  • For mini only show helmet and Gloves

Docker build

  • Build production docker file with backend and frontend inside
  • How to handle config file

Add proposal of next registration number

  • Increase the numbers of equipment
  • Each number needs to be unique

Solution

  • Backend needs to look up the next possible number that is not used (this may can be cached)
  • A proposed number needs to be reserved for some time eg. 1 hour and only proposed to a single client
  • Another client gets an 1 higher number proposed (Need to find first not proposed number)
  • if a number is used the proposal will not expire and if all lower numbers are proposed forever (taken), the first not used number can be updated and the lower proposed numbers can be removed

OR

just use random numbers and store the proposed numbers for 1 hour

Implement member

Backend

  • Add member (name, group)
  • Edit member
  • Deactivate member
  • Get list of member
  • Add security middleware

Frontend

  • Add member (name, group)
  • Edit member
  • Deactivate member
  • Get list of member
  • Move alerts to global store and in corner
  • move groups to store and translate

Bugs

  • Put and Delete Cors
  • Group select does not show value

Add roles

Backend

  • endpoint that returns users
  • endpoint that returns me
  • endpoint to approve (only if admin)
  • toggle admin endpoint (return user)
  • fix register

Frontend

  • Add wait for approval page
  • Show list of users to approve as admin
  • Notifications for login + register
  • Link to register
  • Fetch me and groups

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.