mosely / fss Goto Github PK
View Code? Open in Web Editor NEWThe backend for the FSS Information System
License: MIT License
The backend for the FSS Information System
License: MIT License
For complete backend operation, models representing all of the various objects will need to be written.
For documentation purposes. See commit e1cfb7b for details, specifically Veteran.php and VeteranController.php.
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.
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?
The rest of the controllers are needed in order to expose the remaining http endpoints.
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.
Right now, the method does a wildcard search for all filterable values. If filtering by id, it needs to look for that exact id value. Affects 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.
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.
Zeroes are being left out of any generated report.
See 5be8086
Hopefully, nothing broke, but keep an eye out for any strange behavior.
Due to the controllers refactoring, the Swagger comments need to be adjusted. Needs some research, but a nickname field might help out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.