frederik_diamond on Nostr: On holiday in Italy right now. Haven't been coding much these pasts days because it's ...
On holiday in Italy right now. Haven't been coding much these pasts days because it's so warm here 🥵 My body can't handle the heat... I'm used to Danish weather, so I can't really be judged 😂
Yesterday afternoon, I did manage to implement some validation for usernames and passwords for my social media project. Now, usernames can only be lowercase and can contain letters, numbers, dashes, and underscores.
#dev #italy
Making some great progress on my social media platform! Most of the core functionalities are up and running, like creating an account, logging in, making and publishing posts, liking posts, following users, editing posts and viewing past revisions, etc.
There are still a few things I need to implement. I think the next steps will be:
- Sharing posts
- Commenting on posts
- Saving a draft
Today, I improved the settings by adding an option to switch between light and dark mode. I initially designed the UI for dark mode and haven’t fully finished the light mode yet, so some things still look a bit off.
I eventually want the platform to use the Nostr protocol, but for now, I’ve set up a centralized database to learn how CRUD development works. This is my first big web application, and I don’t have much experience with React, NextJS, Prisma, or Supabase, so there’s a lot to learn. But it’s really fun, and I’m learning a ton along the way.
But the ultimate goal is to make it into a Nostr client for the web.
Published at
2024-07-22 08:05:04Event JSON
{
"id": "b3c42db999b880498c4ef802b0db5409bc656d9b8bd46dc8cfb39b5a1026c6ea",
"pubkey": "9c9f81ed795f0f5efa558932824687d84fc7e6a4cfa6db5d6d3b50fcb7ffaec2",
"created_at": 1721635504,
"kind": 1,
"tags": [
[
"p",
"9c9f81ed795f0f5efa558932824687d84fc7e6a4cfa6db5d6d3b50fcb7ffaec2"
],
[
"t",
"dev"
],
[
"t",
"italy"
]
],
"content": "On holiday in Italy right now. Haven't been coding much these pasts days because it's so warm here 🥵 My body can't handle the heat... I'm used to Danish weather, so I can't really be judged 😂\n\nYesterday afternoon, I did manage to implement some validation for usernames and passwords for my social media project. Now, usernames can only be lowercase and can contain letters, numbers, dashes, and underscores.\n#dev #italy nostr:note1l6qrx8mrw5jvkpspwf2rkfztma85fy7k269sz5ry0ac523cdrshsc2t7xx",
"sig": "3cd794ca5d31c69119650015fafe030af2b650f417cd1bbe937941a7cda30320ca21607bc3ad13ac08b1f8aa9847b0f95be9ef7522eb844192ae9db43d6153b3"
}