/zats-reddit

Reddit clone built with Zod, Appwrite, Tailwind, and SvelteKit

Primary LanguageTypeScriptMIT LicenseMIT

zats-reddit

Built with Typescript Built with Appwrite Built with Tailwind Built with SvelteKit

Description

This is a reddit clone built with Zod, Appwrite, Tailwind, and SvelteKit. It was built to showcase Appwrite's capabilities in a real-world full-stack application.

It is also a experiment on using Zod for validation in a SvelteKit + Appwrite application.

Details

  • You can only see admin-created or self-created posts and comments, to avoid need for moderation.
  • Authentication is ephemeral, meaning you are automatically signed up with a randomly-generated username, which will be used for the duration of the session.
  • TODO: All users & user-generated contents are deleted after at least 24 hours.

TODO

Requirements

  • Post filter logic
  • Responsiveness
  • Votes on comments
  • Implement votes functionality (upvote/downvote)
  • Create comments
  • Session
  • Make sure no duplicate accounts are created

Niceties

  • Post deletion function
  • Comment deletion function
  • Delete stuff after 24 hours
  • 404 page
  • Review code organization
  • Review progressive enhancement
  • Link Posts
  • Image/Video posts
  • Comment filter logic
  • Admin mode features (delete, change votes, etc.)
  • Loading states
  • Favicon
  • Pretty readme
  • Change fonts