sauloaguiar / medical-application Goto Github PK
View Code? Open in Web Editor NEWLearning Kotlin application
Learning Kotlin application
Create high level tests to check if endpoint arguments and returns work as expected.
The application provisioning should be handled by a CI environment - Circle CI.
Application will be served in a docker container that will run a uberJar generated by gradle.
Create high level tests to check if endpoint arguments and returns work as expected.
The UserController class should have the following endpoints and their respective return types/arguments
[{"id":1,"firstName":"Saulo","lastName":"Aguiar","birthday":60586282800000,"prescriptions":[],"roles":[]},{"id":2,"firstName":"Jonathan","lastName":"Freeman","birthday":60491588400000,"prescriptions":[],"roles":[]}]
{"id":1,"firstName":"Saulo","lastName":"Aguiar","birthday":60586282800000,"prescriptions":[],"roles":[]}
POST / -> User
Args:
GET /{id}/prescriptions -> List[Prescription]
[{"user_id": 1, "frequency": "**3**2*", "startDate": 12312312, "endDate": 123213 }]
[{"medicine": 1, "patient_id": 1, "caregiver_id": 2, "timestamp": 12312321 }]
{ "caregiver_id": 1, "patient_id": 2, "assignedAt": 1231231312 }
[{"id":1,"firstName":"Saulo","lastName":"Aguiar","birthday":60586282800000,"prescriptions":[],"roles":[]},{"id":2,"firstName":"Jonathan","lastName":"Freeman","birthday":60491588400000,"prescriptions":[],"roles":[]}]
{
"medicineName": "atenolol",
"medicineDose": 1000,
"medicineDoseUnit": "mg",
"endDate": 1231231231,
"startDate": 12312321,
"timetable": {
"frequency": "once in a month",
"cron": "1 * * 2"
}
}
Consider adding DTO to send only timetable id and avoid hibernate to recreate entries for the same set of values
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.