visit https://deployment-dots.herokuapp.com/ for our deployment app.
-
User registration
-
Login/Auth
-
User profile page
-
Create post / Photo / Video upload
-
Activity feed
-
Photo/ Videos likes & unliking
-
Follow/unfollow users
-
Comments
-
Editing/Deleting Posts (photo/videos) & Comments
-
Follower suggestions
-
Tagging photos/videos / @mentions in comments
-
Live update
-
Privacy / Visibility control on photos/ videos
-
infinite scroll
To access MongoDB, create a .env
file inside backend/
and add DBURL = "url we sent in the credentials form"
, or see the comment in the code.
Then you are able to run our app by:
cd backend/ && npm start
to start the express servercd dots/ && npm start
to start react app
Figma link: Figma
Swaggerhub link: swaggerhub
run npx cypress open
to open the test page. Click on E2E Testing and run the 2 Specs we have configured.
-
We have many users already, you can test
zhengyt1@gmail.com
and password 222, orzhengyt1@gmail.co
and password 222 for sample user. -
If you want to see the project locally(.evn file is needed, ask the owner for that), cd our file dots/ and run
npm start
to start. -
We don't use redux except to get the logged in userID. Every interaction makes a request to the backend. So it may take some a few seconds to load the correct data. (Store user token in sessionStorage now)
-
Sometimes data fails to load, it's mostly because you make to many requrest to remote resource. Just slow your operation and
wait
, or re-login. In this case, console will print "Failed to load resource: the server responded with a status of 429 (Too Many Requests)" -
In the post component, you must update one picture or one video. For video, we only support mp4 file. If you don't see your new post, please wait some seconds, and re-enter the page. We store posted pictures/videos in firebase. While some pictures are generated randomly from image website by mockAPI. So it's normal that a user display different content in a post.
-
In the gallery component, if there is a post with no picture, we generate random picture as its thumbnail.
-
We use UTC / GMT time in our app
-
Due to some reason, the app deployment bases on https://github.com/cis557/project---design-hw1-group21, which you may not authorize to read/write.