Home>

"I want to display newly posted memos on the top page only for myself"

Currently, I am creating a memo app clone that allows you to view only the content you posted.

User registration, login → New post (new post page) → Go to top page

This is a simple flow,
I want to proceed with the implementation so that only I can see the post on the top page after the post is completed.

What kind of implementation would you prefer?
I would be grateful if you could give me any advice or suggestions.

  • Answer # 1

    @ ~ .name
    @ ~ .email


    It was not displayed when @ was added, but
    Remove @,

    ~ .name
    ~ .email

    I was able to display it on the top page safely with the code without @.
    Thank you very much.

  • Answer # 2

    If saved in db, specify the user id based on the logged-in session information
    You should read it