Coder Social home page Coder Social logo

fss's People

Contributors

bjbrookz avatar mlhomfeld avatar mosely avatar

Watchers

 avatar  avatar  avatar  avatar

fss's Issues

Fixing Swagger

Due to the controllers refactoring, the Swagger comments need to be adjusted. Needs some research, but a nickname field might help out.

Cap Max Return Count to 200

Some endpoints try to return 100,000+ records, exceeding memory allocation, so go ahead an cap the max return record count to 200. This'll be adjusted on a per endpoint basis as needed.

Implement OAuth 2.0

Upon researching the issue why the emberjs frontend is having issues with updating JWTs in session as they become available, several solutions were discovered, but I figure the best one to go with is implementing full-blown OAuth 2.0 in the backend. I think I read somewhere that by default emberjs will ask for a new access token if it has a refresh token that's not expired, and OAuth 2.0 defines that behavior.

Work has started with commit 74e6619. Hopefully, I'll finish this soon.

Implement Remaining Models

For complete backend operation, models representing all of the various objects will need to be written.

Consider Not Passing the Entire DI Container into the Controllers

Instead of passing the DI container object into each controller in controllers.php, consider passing in only the dependencies from the DI container that the controllers need.

Will need to adjust controllers.php as well as each actual controller class constructor.

Make All Model and Controller Classes Adhere to PSR

Need to remove underscores in file and class names, and use pascal naming case. Also, remember to fix the use statements to reflect this as well as all references in routes.php and controllers.php.

Now, who wants to tackle this?

Improve readAllWithFilter In All Controllers

See VeteranController.php and the VeteranController::readAllWithFilter route in routes.php as an example. Also, update the related routes involving readAllWithFilter in routes.php .

The read method in each controller will also have to be modified to be just like the one in VeteranController.

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.