mobilespace / daug-mobile

The mobile app for Daug
https://exp.host/@monte9/daug-mobile
6 stars 1 forks source link
android expo ios mobile-app react-native react-navigation

Daug mobile app

This repo is the mobile app for Daug. It was built as part of the MobileSpace Season 2 course by Monte Thakkar.

What's Daug?

Daug is a social network for pets.

Demo - Try it on Expo

Getting started

git clone git@github.com:mobilespace/daug-mobile.git

exp start

exp ios

Designs

Intro, Login & Sign Up screens are based on Robinhood App.

Profile screen is based on Instagram.

Social Feed screen is based on Facebook.

Other design ideas

Assignment #1

Objectives

TODO

Screenshots

<div style={{display: flex; flex-direction: row}}>

<div style={{display: flex; flex-direction: row}}>

<div style={{display: flex; flex-direction: row}}>

<div style={{display: flex; flex-direction: row}}>

<div style={{display: flex; flex-direction: row}}>

Assignment #2

Objectives

TODO

Demo

assignment_2

Assignment #3

Objectives

URL: https://daug-app.herokuapp.com/

API

**Namespace:** `/auth`

// User Authentication endpoints
router.post('auth/signup'); // CREATE
router.post('auth/login'); // VALIDATE / READ

**Namespace:** `/api`

// All data endpoints
router.get('api/users/all'); // READ
router.get('api/posts/all'); // READ

// Social Feed endpoints
router.get('api/feed'); // READ

// User data endpoints
router.get('api/users/:userId'); // READ
router.put('api/users/:userId'); // UPDATE

// Posts endpoints
router.get('api/posts/:postId'); // READ
router.post('api/users/:userId/posts'); // CREATE
router.put('api/users/:userId/posts/:postId'); // UPDATE
router.delete('api/users/:userId/posts/:postId'); // DELETE

// Follower endpoints
router.get('api/users/:userId/followers'); // READ
router.get('api/users/:userId/following'); // READ
router.post('api/users/:userId/follow/:followingId'); // CREATE
router.post('api/users/:userId/unfollow/:followingId'); // DELETE

// Like endpoints
router.get('api/posts/:postId/likes'); // READ
router.post('api/posts/:postId/like/:userId'); // CREATE
router.post('api/posts/:postId/unlike/:userId'); // DELETE

// Comment endpoints
router.get('api/posts/:postId/comments'); // READ
router.post('api/posts/:postId/comment/:userId'); // CREATE
router.post('api/posts/:postId/uncomment/:userId'); // DELETE

TODO

Wrap up

Objectives

TODO

Demo

Submission

Once you have completed each assignment above, please create a new issue on this repo with the title as your name and add the link to your repo in the description. Additionally please publish your Expo app and add the link as a comment on your submission issue. One of the TA's will review your code and add your name to the list of completed submissions below if all looks good.

Problems?

In case you run into any problems or issues, please post it on #questions channel on the MobileSpace Slack.

Finally

For any other questions about this repo or MobileSpace in general please reach out to @monte9 on Github.