Sveltekit Twitter Clone screenshot

Sveltekit Twitter Clone

Author Avatar Theme by Ihaback
Updated: 18 Jan 2025
8 Stars

Barebones Twitter clone built with the Sveltekit, Lucia Auth, Prisma and Faker.js

Categories

Overview

The SvelteKit Twitter Clone is a barebones Twitter clone developed using SvelteKit, Lucia Auth, Prisma, and Faker.js. It is designed to mock the functionality of a Twitter-like platform and includes features such as user registration and login, the ability to follow and unfollow other users, creating and deleting tweets, and a personalized feed based on the users you follow. The initial prototype uses SQLite as the database, but it can easily be switched to Postgres or MySQL.

Features

  • Register and Sign Users: Users can create an account and sign in to the platform.
  • Follow and Unfollow Users: Users have the ability to follow and unfollow other users on the platform.
  • Read, Create, and Delete Tweets: Users can view, create, and delete their own tweets on the platform.
  • Personalized Feed: The platform provides a personalized feed based on the users that the user follows.

Installation

Follow the steps below to install and set up the SvelteKit Twitter Clone:

  1. Rename the env.example file to .env.
  2. Set up the database according to your preferred choice (SQLite, Postgres, or MySQL).
  3. Run the application to initialize the database.
  4. Create a test user to interact with the platform.

Summary

The SvelteKit Twitter Clone is a simple Twitter clone developed using SvelteKit, Lucia Auth, Prisma, and Faker.js. It offers basic features such as user registration and login, the ability to follow and unfollow users, creating and deleting tweets, and a personalized feed. The installation process involves setting up the database and creating a test user.