behruz-b / medical Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
SEND SMS: curl -d 'login=LOGIN&password=PASSWORD&data=[{"phone":"NUMBER","text":"TEXT"}]' http://IP_ADDRESS
GET STATUS: curl -d 'login=LOGIN&password=PASSWORD&data=[{"request_id":"REQUEST_ID"}]' http://IP_ADDRESS
Create Protocol with case class
1. First name;
2. Lastname;
3. Passport Serial Number;
4. Phone;
5. Email;
6. Unique Id
Name: Stats
Columns: created_at, company_code, action (varchar), ip_address (varchar), user_agent (varchar)
action: reg_submit
Value can be failed or delivered
Column will be optional
So far we will not allow register for everyone
Create Manager for data given form Controller
1. First name;
2. Lastname;
3. Passport Serial Number;
4. Phone;
5. Email;
6. Submit button;
Need to add button to download the image
Need do create Users table. Just 2.sql and add:
with action: doc_upload
Create Post method with Validation for Form elements
URLs: GET /stats
action: result_sms_click
URL to show ../patients must be authentication with role admin
Create Form for the reception!
The Form must include input
1. First name;
2. Lastname;
3. Passport Serial Number;
4. Phone;
5. Email;
6. Submit button;
Value can be sms or email
And this column is optional
Create admin page which show table with data
1. First name;
2. Lastname;
3. Passport Serial Number;
4. Phone;
5. Email;
6. Submit button;
7. Status drop down;
Create SQL table for data wich gave Manager
1. First name;
2. Lastname;
3. Passport Serial Number;
4. Phone;
5. Email;
6. Submit button;
It should has login page, where login/pass will be get from application.conf (static login/password)
Create Parse method for data from UI in Controller
Now after 3 second after sending SMS schedule will run to check SMS Delivery
After submit need to rename image to unique name, save to one folder, then update db with name of image and finally show toaster about success/error
Create SQL script on doobie for data
2. Lastname;
3. Passport Serial Number;
4. Phone;
5. Email;
6. Submit button;
Registration form not cleaning
Create "Thank you!" page which shows id
While entering any login and password it redirects to Registration page, it should as following
../doc -> if not authorized should redirect ../login -> after login should redirect again to ../doc and open docForm
../registration -> if not authorized should redirect ../login -> after login should redirect again to ../registration and open RegistrationForm
action: sms_send
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.