SocialApplicationDevelopment PDF
SocialApplicationDevelopment PDF
Design the Left and Right bar functionality 3/8/2024 Develop the left and
right navigation bar
using flex box.
Create the Posts Table 3/9/2024 Include id, desc, img, userid,
createdAT columns
API Testing (Login, Register) 3/9/2024 Using Postman to test API. Used
POST send request to create
account and used GET method to
get the list of the created user.
Create Auth Controller (Register) 3/10/2024 Used Bcrypt package to encrypt the
hased password when inserting
data into the database.
Create Auth Controller (Login) 3/10/2024 Used json web access token to sign
the user id as the access token to
prevent the unauthorized user.
Make Data can send from 3/10/2024 Used the useState to receive the
Registration Form (UI) data from form and sent to the
backend server which is port 8000
using axios package via POST
method. If the user account is
created, the status code 200 will be
returned. If the user is already
created then status code 409 will
be returned. Otherwise status code
500 will be returned.
Validate Data from Login Form 3/10/2024 Used the useState to receive the
(UI) data from form and sent to the
backend server which is port 8000.
If the username and password
Make Data can send from Post 3/10/2024 it incorporates user authentication
Share Form (UI) via AuthContext to identify the
current user. Using React hooks
(useState, useContext,
useMutation), it manages state,
retrieves user information, and
handles asynchronous mutations
for creating posts
Create the Logout Functionality 3/10/2024 Clear the cookie and return status
code 200 with the message of ‘User
has been logout’
Posts Table
Users Table
https://github.com/kaungkaunglay/SocialMediaApp