Skip to content

Instantly share code, notes, and snippets.

View MiDo-kun's full-sized avatar
🎯
Focusing

Jerson Dela Cerna MiDo-kun

🎯
Focusing
View GitHub Profile

Questions

  1. How to send payload from frontend to backend.
  • Generate a unique session ID.
  • Store the unique session ID to the redis alongside user information and necessary information.
    • suggested key is session:${sessionId}
  1. How verify that the payload is valid.
  • Use the session ID in the authorization bearer that can be used to find in redis database and retrieve the neccessary information.
  1. How to save user information to redis.
  • redis.set(session:${sessionId}, JSON.stringify(userData));
@MiDo-kun
MiDo-kun / experience.json
Last active October 15, 2023 04:26
Personal Portfolio.json
[
{
"date": "September 2022 - Present",
"title": "Full-Stack Web Development with MERN Stack",
"description": [
"❃ Built projects such as <a href='https://github.com/MiDo-kun/Dev-Blogs-Frontend' target='_blank'>blog app</a>, <a href='https://github.com/MiDo-kun/Ecommerce-App' target='_blank'>e-commerce app</a>, <a href='https://github.com/MiDo-kun/Auth0-React' target='_blank'>auth0 react</a>, <a href='https://github.com/MiDo-kun/Local-Library' target='_blank'>local library</a> and this <a href='https://github.com/MiDo-kun/Web-Portfolio' target='_blank'>personal porfolio</a> website.",
"❃ Expands my knowledge in configuring routes, securing API requests, handling user authentication, and creating reusable components.",
"❃ Designed database schemas using ORM(Prisma) and ODM(Mongoose)."
]
},