Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 646 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 646 Bytes

Reddit Clone

The purpose of this project was to create a RESTful API and routing only with SvelteKit.

Stack

  • SvelteKit
  • Typescript
  • Joi for input validation
  • joi-password-complexity for good passwords
  • Bcrypt password salting and hashing
  • nanoid uuid gen
  • Unocss
  • Sqlite3
  • better-sqlite3 orm

Features

  • full SSR
  • Routing
    • /new/user
    • /new/post
    • /new/subreddit
    • /login
    • /r/[subreddit]/[filter / uuid]
    • filter = new
    • filter = hot
    • filter = best
    • filter = top
    • /u/[uuid]
    • /vote
  • Up / Downvoting
  • Input validation