zotbuddy's Issues
Come up with a DB model for trivia questions on firebase
I'm thinking something along the lines of...
question: {
id
category (enum)
choices[]: {
id
choiceText
correct
}
order
questionText
}
also need to think about how a submission of a question set works on the db level
Beautify Home Page
Make following changes to the Home Page and make it demo-ready:
- Styling of the words (reduce the words if possible)
- Add logos (zotbins + a temp uci dining one)
- Replace temporary uci dining logo with official one (once we get it from them)
Play around with the native-base and react native docs!
Reroute appnavigator to mainStack after login/signup authentication
currently it will default to mainstack in the navigation
it should do something like this:
if (auth token is in securestorage) -> go to mainstack
else -> go to login stack
btw switch navigator was swapped for stack navigator because switch is used in react navigation v4. we use v5.
Fix navigation import for MainStack
it was working, but broke for some reason
Fix eslint
Use ESLint to standardize the JS styling
Either use airbnb or facebook eslint config
https://www.npmjs.com/package/eslint-config-airbnb
https://www.npmjs.com/package/eslint-config-fbjs
Update sign in with email to ensure user does not sign in with same email
In the Sign-In with email functionality:
- Make sure the User does not sign in with an email Id previously used and stored in Firebase
- Render a message "Email already in use" if same email id is used
Connect barcodescanner component with barcodescanner page
the component doesn't render when you try and render the component on the page
Add trivia questions to DB
Create a question entity
For scalability, I feel it would be good to create a choices entity with question entity having an array of choices entities
slack me for more info
Add login with facebook/gmail
add gmail fb authentication with firebase
CI/CD pipeline for expo
Need to create an expo account for zotbins
Then either use drone.io or github actions to test and publish to expo after pushing to master branch
There should be a github actions for expo which publishes the app to expo
Fix font imports
the code was ported from the previous zot mobile repo
it doesn't seem to work currently
needs to be fixed
the code is under App.js
Fix storing uid in SecureStorage
storing uid in SecureStorage is failing
the failure happens when we call onSignIn inside LoginForm
I'm guessing its something wrong with importing and exporting from the index.js from src/util
Update Firebase DB with DB model
Set up native-base theme
use zotbins color configurations and set up the theme for our ui library
color reference: https://docs.google.com/presentation/d/1kTR1ol7fsUQGDXnx5fJYakns--Y-IBsiC-pJq0UXgCM/edit#slide=id.ga70243db38_0_22
native-base: https://docs.nativebase.io/
issue with authentication handling
a warning pops up on signup or login
need to look in to why this warning pops up
probably has to do with how we handle our promises
Fix pre-commit hook for prettier
prettier isn't running during pre-commit
Move artifacts and secrets to an env variable
the API keys and stuff to env
remove react navigation v4 dependencies
Create fetch API hook
It is annoying creating a function for every REST API call
Currently we only call the zotbins api, but I feel we will need to call to other APIs as well
Make a hook which works with dynamic
Something like this
https://medium.com/@jarydcarolin/seamless-api-requests-with-react-hooks-part-1-7531849d8381
Fix changelog automation
Automate generating CHANGELOG.md
Some of it is complete, but there were some problems with it
I'm thinking updating the CHANGELOG every commit (using husky pre-commit)
Probably have to do some research though
Reset Password
Allows user to reset their password. An email is sent to them (registered email) with a link to reset their password.
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.