Barebones Twitter clone built with the Sveltekit, Lucia Auth, Prisma and Faker.js to mock database data. Uses sqlite for prototyping but can easily be changed to Postgres or MySQL.
- Register, Sign Users
- Follow, Unfollow Users
- Read, Create, Delete Tweets
- Personal feed based on who you follow
- Browser user to Follow
npm install
DATABASE_URL="file:./data.db?connection_limit=1"
# Generate prisma client
npx prisma generate
# Setup the database
npx prisma db push
# Seed the database
npx prisma db seed
# development
npm run dev
# build
npm run build
# start
npm run preview
{
username: "testuser",
password: "password",
}