Giter Site home page Giter Site logo

commandcentralbackend2's People

Contributors

anguslmm avatar graceatwood avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

commandcentralbackend2's Issues

Fix Commands DTOs

When creating a command, not all fields are allowed, including some that are required. The following errors come back when trying to create a command:

  "'Address' should not be empty.",
  "'City' should not be empty.",
  "'State' should not be empty.",
  "'Zip Code' should not be empty.",
  "'Country' should not be empty.",
  "'Muster Start Hour' must be between 1 and 24. You entered 0.",
  "'Current Muster Cycle' should not be empty."

The POST, GET, and PUT dtos and endpoints all need to be fixed for this.

Create Readme

... and fill it out. don't just create the stupid thing

Create CFS endpoints

CFSServiceRequestsController:
Get - query against all properties
Post - create a new request for service
Put - Update who has claimed the request
Delete - Delete a request only if no meetings are already associated with it

CFSMeetingsController:
Get - query all properties
Post - create a new meeting
Put - Update notes on meeting or time

Permissions:
CFSes have authority to update a request if they are the person that claimed it. Only claiming CFS has authority to see notes on meetings.

Fix POST Person endpoint

Creating a new person fails because the person's EmailAddresses list is set to null after construction, which throws in error in validation.

Create CFS objects

Create the objects in a new namespace in entities. Map them and declare validation.

CFSServiceRequest : Entity
time submitted
person
request type -> editable reference list
claimedby -> person

CFSMeeting : Entity
Time
Person
CFS who met with Person
CFS notes
Related service request

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.