IanAragonSaenz / Stuff-Trading-App

0 stars 0 forks source link

Stuff-Trading-App

Table of Contents

  1. Overview
  2. Product Spec
  3. Wireframes
  4. Schema

Overview

Description

It's an app where people can put up what items they would like to trade or give away, giving the option for other people to trade for things they want.

App Evaluation

Product Spec

1. User Stories (Required and Optional)

Required Must-have Stories

Optional Nice-to-have Stories

2. Screen Archetypes

3. Navigation

Tab Navigation (Tab to Screen)

Flow Navigation (Screen to Screen)

Digital Wireframes

[BONUS] Interactive Prototype

Schema

Models

Post

Property Type Description
objectId String unique id for the post (default field)
author Pointer to User image author
image File image that user posts
title String image caption by author
description Number number of comments that has been posted to an image
likesCount Number number of likes for the post
location String location for the trade
createdAt DateTime date when post is created (default field)
updatedAt DateTime date when post is last updated (default field)

User

Property Type Description
objectId String unique id for the user (default field)
image File image of user
username String user's name
password String user's password
email String user's email
emailVerified Bool if user has verified his email
authData Object user data
createdAt DateTime date when post is created (default field)
updatedAt DateTime date when post is last updated (default field)

Chat

Property Type Description
objectId String unique id for the message (default field)
userA Pointer to User user from chat
userB Pointer to User user from chat
createdAt DateTime date when post is created (default field)
updatedAt DateTime date when post is last updated (default field)

Message

Property Type Description
objectId String unique id for the message (default field)
message String user's message
sender Pointer to User user object
chat Pointer to Chat chat object
createdAt DateTime date when post is created (default field)
updatedAt DateTime date when post is last updated (default field)

Networking

Login

CRUD HTTP Verb Example
Create POST Creating a new user
Create POST Create a post
Create POST Create a direct messsage
Create POST Logout from current session
Create POST Send message to another user
Read GET Login the user
Read GET Get an existing user
Read GET Fetching posts for user's feed
Read GET Fetch the user's chats
Read GET Get messages from a chat
Update PUT Update existing user profile picture
Update PUT Change user's name
Update PUT Change user's password
Delete Delete Delete an existing user

Credits

List an 3rd party libraries, icons, graphics, or other assets you used in your app.