Before contributing to the project, please read our contributing guide here: https://github.com/dwyl/contributing
BestEvidence (BE) is an open source project commissioned by City, University of London. The purpose is to create an application that can be used to search for scientific evidence to aid a user in following the principles of evidence-based practice. The primary audience is medical professionals/students, but the app is open to all, including lay members of the public.
BestEvidence can be found at: https://www.bestevidence.info/
This URL corresponds to the production app on Heroku: https://best-evidence-app.herokuapp.com/
There is also a staging app to test features prior to production: https://best-evidence-staging.herokuapp.com/
The project utilises a number of technologies, listed here:
Technology | Use in Project | dwyl Open Source Tutorial |
---|---|---|
Elixir | Language | https://github.com/dwyl/learn-elixir |
Phoenix | Framework | https://github.com/dwyl/learn-phoenix-framework |
Tachyons | Styling | https://github.com/dwyl/learn-tachyons |
JavaScript | Front End | https://github.com/dwyl/learn-javascript |
Node.js | Phoenix Dependency | https://github.com/dwyl/learn-node-js-by-example |
PostgreSQL | Database | https://github.com/dwyl/learn-postgresql |
Heroku | Hosting | https://github.com/dwyl/learn-heroku |
mix deps.get
mix ecto.create && mix ecto.migrate
npm install
mix phoenix.server
localhost:4000
from your browser.mix run priv/repo/seeds.exs
mix run priv/repo/add_librarian/exs
super-admin
user to the database with mix run priv/repo/super_admin_seed.exs
(You will need to have added a SUPER_ADMIN_EMAIL
and a SUPER_ADMIN_PASS
to you .env file for this to work)special
type in the database with mix run priv/repo/update_special_type.exs
mix run priv/repo/bear_question_seeds.exs
Ready to run in production? Please check the deployment guide.
This functionality allows for one way communication from administrators to users by design.
Although design solutions were presented for a 'chat' style of UI which would allow users to reply and interact with administrators, it was noted that in these early stages of the application there simply wouldn't be enough resources for BE admins to keep up with full in-app two way communications.
Administrators can communicate with:
Users will be able to see that they have new messages by a small red dot next
to the Messages
item in the navigation.
In their Messages screen, they will also be presented with a banner message
to let them know how to contact the BE team should they need to.
Admin user flows
The first two screens in this flow depict the current application with a change
to the navigation menu which will allow for the additional Messages
menu item.
The rest shows the administrator's Messages
screen, allowing them to pick
a specific individual to send a message to.
If the admin is to select 'Send to all' in the top right of the screen, they would go through the following flow instead:
User's Messages
flow
As above, the first two screens in this flow depict the current application with a change
to the navigation menu which will allow for the additional Messages
menu item.
The last screen shows the one-way communication messages screen a user sees.
Clicking See More
will expand the message to show its full content.