Fitness Dating Mobile App
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.
- Node/Express
- PostgreSQL
- Sequelize
- Socket.io
- React Native
- Redux
- Chai
- Mocha
- Fork and clone both repositories.(https://github.com/cosmictornado/cosmictornado) (https://github.com/cosmictornado/cosmicServer)
- Install PostgreSQL following this tutorial (https://www.codefellows.org/blog/three-battle-tested-ways-to-install-postgresql)
npm install
in root of both directories.nodemon server.js
to start the server and link the tables to the database
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 lineCOPY users FROM '../../../../Path/To/File/Relative/To/psql/Location/users.csv' ( FORMAT CSV, DELIMITER(',') );
createdb _databasename_
to create a new database called databasenamedropdb _databasename_
to delete an existing databasepsql _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 namesSELECT * from _tablename_;
to show all rows in a table\t
to toggle table to show column names if they're not showing up
- In terminal,
mocha
to run tests
npm install
rnpm link
to automatically link most iOS dependencies
View the project roadmap here. Papayatary was built using waffle.io as the project organization tool.
- Product Owner: Haoming Huang
- Scrum Master: Laura Curley
- Development Team Members: [Kenneth Montgomery] (https://github.com/BigBroken)
Learn how to contribute here.
For any issues, please refer to our issues page. Please direct any questions regarding Papayatary to our wiki page.
Distributed under the MIT License.