Giter Site home page Giter Site logo

skjutsgruppen / skjutsgruppen-reactnative Goto Github PK

View Code? Open in Web Editor NEW
22.0 12.0 7.0 44.31 MB

React native app for Skjutsgruppen http://www.skjutsgruppen.nu/

License: MIT License

JavaScript 87.32% Python 0.09% Java 0.75% Objective-C 11.70% Ruby 0.14%
react-native skjutsgruppen ridesharing

skjutsgruppen-reactnative's Introduction

Prerequisites

  1. react-native
$ npm install -g react-native-cli
  1. For Android

Install

$ git clone [email protected]:Skjutsgruppen/skjutsgruppen-reactnative.git
$ cd skjutsgruppen
$ yarn install
$ cp .env.example .env .env.production

Update .env config according to your need.

For Android

List all avds

$ cd /path/to/Android/Sdk/tools
$ ./emulator --list-avds

Run app on android emulator

$ ./emulator -avd <ADV_NANE>
$ yarn start
$ yarn android

Upgrade React Native version

Install react-native-git-upgrade package globally

$ npm install -g react-native-git-upgrade
$ react-native-git-upgrade

Style Guide

This project uses Airbnb JavaScript Style Guide So please read and be familiar with their style guide before contributing on this project.

Lint javscript code

Run eslint before you commit changes.

yarn eslint

skjutsgruppen-reactnative's People

Contributors

anjhero avatar k2glyph avatar maharjanraj avatar manishgs avatar raisaugat avatar ruchidhami avatar saugatmaharjan avatar umuieme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skjutsgruppen-reactnative's Issues

Implement 'Comment' Feature

User should able to add comments on offer and group.

  • Add comment from offer detail screen
  • Add comment from group detail Screen
  • Auto update comment list whenever comment added by another user.

Implement Join group feature

  • Design UI components for join group screen
  • Joint open group and view detail screen
  • Request to join close group
  • Join request notification for group admin
  • Group admin can reject or accept request
  • Notify requester for accept or reject action.

Implement Group/Trip map route

There should be Map menu at right side of toolbar on group/trip detail screen. When tap on Map menu user will take to map screen where they can view trip route with start, end and stops markers.

Setup initial structure

Setup initial react-native structure with redux and graphql client. There should be readme with proper instructions to get started.

Document user registration process flow

User registration process isn't properly documented both in text and design. We need to document various use-cases and see the flow.

  1. existing users download the app, (they have already linked their mobile number with their account). What if they login to the system in a mobile whose number is different from their previously registered number? They can login to the app, but now it gets tricky when we auto-sync the contacts.
  2. What happens when the user change their sim-card and hence their mobile-number, what should be the course of action? This is similar to the above point 1.

Current registration process includes the following metadata

  • Firstname
  • Lastname
  • Email
  • Password
  • Repeat Password

In our case, there will be one more metadata - mobile number, which will be auto-submitted.

Implement "Search" feature

The "Search" feature searches in overall feeds of groups, offered trips, asked trips and public transports.

Implement Friend Request

  • Send friend request
  • Notification to become a friend
  • Accept friend request
  • Notification for accept request

Implement "User profile"

Implement a feature for viewing own profile and others profile

TODOS

  • Design UI for user profile screen

Implement Map

Display following markers on Map

  • User's current location
  • current active offer
  • current active ask

Implement "SyncContacts" feature for Android

When the user registers and logs-in for the first time, her contacts will be synced to the server - that will be used purely to find friend connection with other users. This is only one way sync from mobile to server and not vice-versa.

Once this feature is implemented, we are yet to see whether this sync feature should be made automatic or keep an option to do manual sync with a button.

First time will be auto-sync but we need to see how to do subsequent sync.
Any thoughts? @MattiasJay

Implement "Messages"

  • Design messages screen UI
  • new and old notification
  • action for notification
  • add pagination

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.