What is Nostr?
frederik_diamond / FREDERIK DIAMOND
npub1nj0…2gqz
2024-07-22 08:05:04

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.
Author Public Key
npub1nj0crmtetu84a7j43yegy358mp8u0e4ye7ndkhtd8dg0edll4mpqn52gqz