This is the most bestest image app ever!
- Click on
Register
or navigate toregister.php
- Enter a username and password! (See what happens when the username is already used! Try "nathan"!) (See what happens when the passwords don't match!)
- When you create the new user, do you get logged in automatically?
- This project doesn't have a page for searching and finding users. To follow a user, use this MySQL command:
SET @yourUserID := 1; -- Change to match your user's ID
SET @theirUserID := 1; -- Change to match the user you want to follow!
INSERT INTO usersFollowing (rootUser_fk, followedUser_fk)
VALUES (@yourUserID,@userId);
- Now go to your feed and refresh! The user you followed should have their posts show up now! You can always unfollow a user from your feed!
- Navigate to someone's profile! Check out their posts, you can also follow/unfollow them!
- From your feed, click on the
+
icon! - Upload an image!
- Enter some details about your post!
- After posting, you can check out your post by going to your profile (click your icon in the navbar)
- Check out your profile (click your icon in the navbar)
- Click "Edit Profile"
- Try editing things! Upload a new profile photo, change the username/description. Try changing your password!
Feel free to mess around! You can always reset all the data using the finalProject.sql
startup script!
Try doing some stuff on one user account and then log into another user account and see what's changed!
All user accounts that load from the startup script load with the password of 123
. The initial user accounts that load are:
Username: password
_nathan_: 123
john10: 123
cole-32: 123