Giter Site home page Giter Site logo

gameportalreactnative's People

Contributors

coldmaple avatar samuelsmithhk avatar yoav-zibin avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gameportalreactnative's Issues

Firebase Login

As a game player
I need a way to login to the game portal
So that I can gain access to my game portal profile page (TODO)

Assumptions

  • The implementation will use the Firebase login facilities provided.

Acceptance Criteria

  • Must support most login methods provided by Firebase: Google login, email login, anonymous login.
  • Store in firebase DB user info (under: /user/$user_id/private_fields /user/$user_id/public_fields)
  • After running the project based on the information provided in the readme.md, the first page loaded when trying to access the game portal should be the login page.

GamePortalReactNative#3: Presence System

The example for presence system is here: Example.

See the doc for the change of our database. This version can support presence system and online chat.


Acceptance Criteria

  1. (Highly Recommended) Create a clear code structure to add new features. I suggest use structure like this:
  • FirebaseLogin
    • ios
    • android
    • package.json
    • src
      • components
        • button.js etc.
      • pages
        • account.js
        • login.js
        • signup.js
      • support
        • firebase.js
      • styles
    • tst
  1. In our database, new structure should be created to support presence and chat. Fox example, public fields: isConnected and lastSeen should appear. In detail, follow and add new fields (if needed) based on doc.

  2. When a user is logged in, related change in firebase. For example, isConnected field should be true.

  3. When a user is logged out or disconnected to the firebase, isConnected field should be false and lastSeen should record its latest logged in time.

  4. When user creates a chat, its user_id is recorded in a specific $chat_id, and it is the first in that array. Adding new user_id based on the time they added in that chat.

  5. When user sends a message, this message should be recorded into firebase. Fields need to be created. In detail, see doc.

  6. Basic UI showing that one user is currently logged in/logged out. For example, a green/red dot showing in the user account page.

  7. Basic UI for creating chat and sending message.

Create Skeleton Project

As a developer
I need a simple skeleton project
So that I can begin adding features and developing the game platform

Assumptions

  • The project will be written using the React Native framework, which is based in Javascript

Acceptance Criteria

  • When I clone this repository, I should have a structured React Native project to allow me to begin developing.

  • readme.md should be updated to include information on how to run the skeleton project locally. (A simple 'hello world' screen will suffice).

  • The project structure should encourage test-driven-development, potentially with Facebook's Jest - https://facebook.github.io/jest/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.