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:
- Rename the
env.examplefile to.env. - Set up the database according to your preferred choice (SQLite, Postgres, or MySQL).
- Run the application to initialize the database.
- 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.