Comments (5)
I think we could probably extract some configurations out into a config.json file, which is in the .gitignore. We would have to have a example-config.json committed to the repository. Then I would store the actual configs in gists and share them with developers when requested (alternatively, developers could sign up for their own API keys if they do not want to ask or if I fall into a black hole)
from openbrews.
Hi, @mdw7326 .
Do you envision something like search and display as the user types in their query? using the API here: http://www.brewerydb.com/developers/docs-endpoint/yeast_index
(That API can return a list of all the yeasts or search using a particular ID. Query based search isn't available in that API.)
from openbrews.
@icyflame I didn't realize that the yeast endpoint didn't support searching. To implement this we will have to call /yeasts
to get all yeasts (this is actually pretty fast), and then do our own search.
*I am also not sure what the best way to store a development API key is
I think the functionality should act as illustrated in the following use-case:
- The user clicks the yeast name field
- A dropdown list appears below with all possible yeasts, and their cursor is placed in the field for text to be entered
- The user enters one letter "A", and only yeast names starting with "A" are shown in the dropdown now
from openbrews.
Ah, got it. I have implemented stuff like this in native Android, but there was a search endpoint in the API then. Okay, if that particular request is really fast, then we can actually get all the 9-10 pages of results and take it from there. I will explore this further.
API key has me baffled too. They say "keep the API key private" but obviously in a web-application and in all open-source applications, the key would be public. Hmm, I will think about some kind of environment variable fix, but I don't think there are any for Ionic apps. Let's think of other ways to store the key, meanwhile.
from openbrews.
#64 added services for this and #63 Has a smart type example using these services. This is now just applying those two things to this issue and should be straightforward.
from openbrews.
Related Issues (20)
- Integrate with new API
- Margins are off on iOS when run in Ionic View app
- Add BrewCenter User Authentication
- Add BrewCenter recipe persistance
- Add method to suggest BrewCenter data improvements from OpenBrew apps
- Calculate Estimated ABV and ABW and display on Edit/View Recipe HOT 1
- Calculate IBU and show on Edit/View Recipe Pages HOT 5
- No validation is performed when saving a Recipe HOT 3
- Dropdown Menu's fight to be on top HOT 3
- Rows should be identical heights HOT 1
- Add alcoholTolerance to Yeasts UI
- Installation to Android (5.1.1) Requires Altering Security Setting Change HOT 2
- Add Padding to the top of View Recipe
- Replace sliding list items with Edit/Delete buttons on Android
- Editing a Recipe hijacks scroll height when using smart text fields HOT 1
- Smart-text field lists do not scroll
- Mine additional data for ingredients
- Condense fields on View Recipe
- Add Confirm Deletion Modal when deleting a recipe
- Replace $scope with view models
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbrews.