Coder Social home page Coder Social logo

lanmobile's Introduction

TexasLAN Mobile App

This is the TexasLAN mobile application.

Setup development environment

Prerequisites

  1. Verify NodeJS 8.2+ is installed on your computer. If its not, go to NodeJS site and install it following given steps.
  2. Install yarn library. To do that, run:
     sudo npm install -g yarn
  3. Go to Expo Official Site and install runtime for your OS.
  4. Install the Expo CLI
  yarn global add exp
  1. Install Expo App is installed on your phone (available on Android and iOS)
  2. Install a simulator on your machine (i.e. XCode) if you want to run the application locally.
  3. Run the TexasLAN Backend (now just one step with docker-compose up!)

Setup application

  1. Clone this repo

  2. Go to project root folder and run

     yarn install
  3. Execute one of the following commands to setup internal app config file (this file constains things like the endpoints for the different environments -local, dev, staging, prod-)

     yarn build-<ENVIRONMENT>

    (in example: yarn build-local)

    *ENVIRONMENT: local | dev | staging | prod

  4. To start application, run

     exp start -c

lanmobile's People

Contributors

braintreeps avatar stevendiaz avatar

Watchers

 avatar  avatar  avatar

lanmobile's Issues

Capstone project: Add profile page

Overview

Add a profile page so that user's of the LAN mobile application can see their profile information.
The current schema of the user data fetched from the backend looks like this:

'jwt_token':string,
'user': {
     'id': integer,
     'email': string,
     'full_name': string,
     'nick_name': string,
     'phone_number': string,
     'graduation_date': string,
     'concentration': string,
     'gender': string,
     'lan_class': string,
     'active_semesters': string,
     'gravator_image_url': string,
     'groups':  {
            'open_rushie': boolean,
            'closed_rushie': boolean,
            'rushie': boolean,
            'pledge': boolean,
            'active_user': boolean,
            'officer': boolean,
            'board': boolean,
            'inactive': boolean,
            'alumni': boolean
       }
     'is_active': boolean,
     'is_staff': boolean,
     'is_superuser': boolean,
     'is_verified':boolean
}

This data is already in the global React state for you, so you don't have to worry about fetching it from the backend. Your task is to display it on a page and make a way to navigate to that page.

Pre-implementation steps

  1. If you're on windows you're out of luck. I'd recommend booting an Ubuntu partition
  2. Set up your environment by following the README
  3. Deploy the texaslan.org app locally as your backend
  4. Run the LAN mobile app locally
  5. Do some reading on React Native

Overview Steps

  1. Add "Profile" to the navigation drawer and have it open a new screen
  2. Design profile frontend layout with dummy data, taking into account the User schema above
  3. Inject data from the global "User" object state
  4. Test with different screen sizes, platforms (Android/iOS), versions

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.