Skip to content

codemode9/dispensary-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dispensary-app

Get the information you need, to get the treatment you need.
Access our demo project: https://dispensary-app.herokuapp.com/

How to Use

The user will first be prompted to register in order to access the app;
no personal data is required, we just requires a username and email.

Then, the user will select the issue they are seeking help with.
The app will generate recommended marijuana, or marijuana-derived, products for them.

More detailed searches will likely be possible after further development thanks to a built-in API call.
A page listing available resources will also be available to app users.

How to Install & Run

To install,

  • clone the repo
  • run npm install

To run,

Project Description

This project is a group effort to aid those suffering from illnesses whose symptoms can be treated by use of medicinal marijuana.
We aim to give them the ability to find out which specific products are best-suited to their medical needs.

The project was conceived and organized by Daniel Mace;
it was developed by a four-person team over one week.
The total time spent developing our project, including time spent learning new tools, is estimated at 100+ hours.

We utilized HTML, CSS with Material Design Lite, Javascript with JQuery, Node.js with dependencies including handlebars.js, passport.js and sequelize.js, MySQL with WorkBench, and an external API as well as our local API/database.

Internally, we had to carefully-structure our folders and files, set up a database, line up all our routes, set up HTML files with handlebars, and code listeners/etc. for buttons on our HTML pages.
We were not able to find the ideal API for this project's specific needs, but still made use of Otreeba for research purposes.
Further use of APIs is possible in the future.

Legal Disclaimer:
The creators of this app do not condone any illegal use of restricted subtances;
please check relevant local laws and regulations.
If you find yourself in disagreement with said laws, please call your local, state, and Federal representatives.

Contributors

Timour Basegmez - lead on Handlebars; back-end/front-end;
Github: https://github.com/codemode9
Daniel Mace - project lead/historian; back-end/front-end;
Github: https://github.com/Daniibooii
Evan Voultepsis - lead on API; back-end/front-end;
Github: https://github.com/evangelosv93
Devon Williams - lead on design elements; back-end/front-end;
Github: https://github.com/Dvnwllms

Notes

Project Goals:
Create a Node/Express web server
Use MySQL DB/Sequelize ORM
Structure folders/files to meet MVC paradigm
Use Handlebars.js
Include working GET/POST routes
Host with Heroku
Handle user authentication with Passport.js
Use one technology new to the majority of group members
Include polished front-end/UI
Meet good quality coding standards: indentation/scoping/naming

We presented our work to a group of our peers in late March;
the Google Docs presentation used is available for viewing below:
https://docs.google.com/presentation/d/1UGg5VhAX3pe2CqOi0sk7Jw4gYQ-BVF7UpDAyf4exe2o/edit?usp=sharing

For context, Jared, Cris, and Sam are three more-experienced programmers who generously provided their time and expertise.

Inspirations

People who are in pain and can't get treatment or don't know what to take;
folks who are in prison for use of medicinal marijuana.

Resources

Otreeba Open Cannabis API
Leafly

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 81.1%
  • JavaScript 17.4%
  • CSS 1.5%