minitour / db2018_ex5 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Controller requests 2 parameters for read_all: hospitalID
and departmentID
.
The second parameter is not needed here.
after making an API call show a snackbar to indicate if the operation was successful or not.
Some tests do not match the backend controller.
Make sure after making the API call to add a delay to allow the assertion to happen:
api.readAll(params, (response,items) -> {
assertTrue(items!=null && items.size() > 0);
});
try { Thread.sleep(3000); } catch (Exception ignored){}
The Requirements File:
https://drive.google.com/open?id=1KCvjgZc6PJYe1GDA6xyCnzkTMKcGgL8n
Checkout PersonForm.java
as an example.
Apply the same for all other forms.
textFieldFactory
comboBoxForFields
listForField
inupdateableFields
Add a new route /updatePassword
Parameters: ACCOUNT_ID
, SESSION_TOKEN
, currentPassword
,newPassword
.
Response: Success/Failure
Logic:
Check if the currentPassword
matches the password that is stored. Use Bcrypt.checkpw()
.
Database Dependencies:
ACCOUNT_ID
, password
)UpdateAccounts SET password = @password WHERE ACCOUNT_ID = @ACCOUNT_ID;
SELECT @ACCOUNT_ID;
After understanding the requirements collected in issue #1, start designing the system.
This includes both the client and the server:
Read all the files in the reference folder and extract all requirements starting from EX5, then EX1, EX2, EX3.
Something wrong with the form.
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.