Skip to content

papayatary/papayataryClient

Repository files navigation

Papayatary

Fitness Dating Mobile App

Introduction

Papaytary is a React Native mobile app that allows users to like one another by sending Fitbit steps. Users sync up steps they've accumulated while wearing their Fitbit. New steps are added to users' wallets each time they open the mobile app. Users can then send steps to other users in order to like them. Once two users send steps to each other, they are matched and can send each other messages.

Table of Contents

  1. Usage
  2. Requirements
  3. Development
    1. Installing Dependencies
    2. Tasks
  4. Team
  5. Contributing

Example

papayatary5

Technologies

Back End
  • Node/Express
  • PostgreSQL
  • Sequelize
  • Socket.io
Front End
  • React Native
  • Redux
Testing
  • Chai
  • Mocha

Wireframes

screen shot 2016-05-19 at 2 27 35 pm

Installation

Database Setup

In the terminal, navigate to the root directory of the server repository:

  • createdb _databasename_ to create a database
  • To seed the database from csv files for testing purposes:
    • psql _databasename_ to go to the PosgreSQL command line
    • COPY users FROM '../../../../Path/To/File/Relative/To/psql/Location/users.csv' ( FORMAT CSV, DELIMITER(',') );

PostgreSQL Command Cheatsheet

  • createdb _databasename_ to create a new database called databasename
  • dropdb _databasename_ to delete an existing database
  • psql _databasename_ to enter PostgreSQL command line
  • \list to list all databases
  • \connect to switch databases
  • \dt to show all tables
  • \q to exit psql command line
  • \d _tablename_ to show table column names
  • SELECT * from _tablename_; to show all rows in a table
  • \t to toggle table to show column names if they're not showing up

Schema Design

screen shot 2016-05-19 at 2 56 48 pm

High level architecture

Testing

  • In terminal, mocha to run tests

Installing Dependencies

  • npm install
  • rnpm link to automatically link most iOS dependencies

Roadmap

View the project roadmap here. Papayatary was built using waffle.io as the project organization tool.

Team

Contributing

Learn how to contribute here.

Questions and Issues

For any issues, please refer to our issues page. Please direct any questions regarding Papayatary to our wiki page.

License

Distributed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published