For the source code:
A photo sharing website with simple and beautiful user interface.
User could register new account, upload photos, follow other users, comment on posted photos and search for users or photos.
Here is the first look of this app. User could login or register.
When a user who hasn’t logined manually type ‘localhost:3000/home’ which requires logined user, he will get this error page.
When registering a new account, user has to provide a valid email address and also avatar image.
When user registered a new account successfully, he will receive a welcome email to the email address he provides.
This is a page for a user. All pictures posted by him will list right here.
On the home page, all the pictures posted by yourself and by the users you have followed would be listed. Newest posted pictures always come first in the order.
You can also see your profile, see your following, see your followed by or simply logout by using the menu on the right side that pops up when clicking on the button with your username.
Of course, you can use the search bar on the left top. If you do not provide any keyword there, you will get all users and pictures as follows. You can search for a username, a picture tag or a picture detail. Search result are listed separately, with users on the left and pictures on the right.
You could also comment on a posted picture. All comments are listed below the picture.
You could also tweet this page if you want. However, in a local version of this website, you cannot do so. If you are the user who posts this picture, you will also see the “Delete” button and “Edit” button.
So I think that’s pretty it.
Note: If you want, you can visit the online version of this website, http://findpictures.heroku.com/welcome.
However, making it as the same as local version requires extra work that I haven’t done.
So a online version:
All pictures will be gone after a certain time.（Because heroku does not support to store images in folder /public/….. Solution: Actually, I think using Amazon S3 service may be helpful. Just store all the images on Amazon server, then the database in this app restores the reference for how to retrieve image from Amazon server.)
User will not receive welcome email after registering. (Because extra add-on is needed for doing so. I didn’t buy the add-on on heroku)
Feel free to contact me, email@example.com