hxtreme / hcp-project Goto Github PK
View Code? Open in Web Editor NEWHealthcare Credit Provider - Project for my software engineering course.
License: MIT License
Healthcare Credit Provider - Project for my software engineering course.
License: MIT License
The admin should be able to manage the website data from a dashboard.
The Admin can go to /admin
to manage the website in the following way:
Request /admin/<appropriate-suffix>
and verify that it loads and provides the above options.
Assigned to: @twopiaresquared @BlakeC97
Provide screenshots of the previously-developed wireframes so we have a reference while developing.
Note our wireframes diverged from the project requirements, so the wireframe should be used as a guiding force, not a set-in-stone design.
Test that we can submit a credit form, for "passing on" to the relevant party. Also test that all input validation is in place.
At:
HCP-Project/app/templates/macros.html
Line 60 in bb81a69
The input for range doesn't have any styling.
Possible remedies:
Potential Idea:
AddressValidator
or Existence
with message=0
The condition in if statement (currently)
not message
should evaluate to False
as message was provided.
The condition evaluates to True
because python would interpret the not as arithmetical.
Change this checks in AddressValidator and Existence to the following:
message is not None
Test the search bar by searching for a location, fixing or omitting the practice type (as practice type is not relevant for this test). Ensure that we can successfully obtain a record of a number of local practices.
We don't want sign-ups, only the admin can sign in for the admin dashboard.
HCP-Project/app/static/css/custom.css
Line 56 in 214247b
the variable partial
is only used for its length so we can instead use .count()
ref:
HCP-Project/app/search/SearchQuery.py
Line 69 in bb81a69
Test to see if admin can login to view /admin/
page.
/admin/
with credentials from app.config['ADMIN_CREDENTIALS']
The response status should be HTTP OK (200)
To do this in curl you do the following:
curl -u admin_name:admin_pass host:post/admin/
Alternatively here's the request as sent by google chrome:
note: The weird string in Authorization is Base64 encoded and it translates to - admin_name:admin_pass
GET /admin/ HTTP/1.1
Host: localhost:5000
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Authorization: Basic YWRtaW5fbmFtZTphZG1pbl9wYXNz
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/78.0.3904.108 Chrome/78.0.3904.108 Safari/537.36
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Assigned to: @BlakeC97
Further instructions to the user.
No results or feedback returned.
ref: #41
The search page allows user to search for and apply to Credit providers.
Design the /search
page using wireframe
Request /search?query=QUERY
and the search page should load with the corresponding results.
Some components(searchbar, styles, scripts) required for the search page will only be available once #8 is merged.
Assigned to: @sh-hka
Test the search bar by searching based on practice, either fixing or omitting a location (as location is not relevant for this test). Ensure that we can obtain a list of practices of strictly one (or more) specified types.
Test the application form added via #36
get
request to /apply
and check for HTTP 200 response code and text/html
content typePost
the form to /apply
/index
)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.