Stories is an open source social media platform similar to Twitter that preserves all content generated on the platform (posts, comments and chats) for only 24 hours.
- Next.js
- TypeScript
- Tailwind CSS
- React Hook Form
- Zod
- NextUI
- Turso
- Drizzle
- Lucia
- Firebase
- Nodemailer
Important
First, you need to create a Firebase project, a Turso database and SMTP server.
- Clone the repository
- Install the dependencies
npm install
- Rename the
.env.example
file to.env
and fill the environment variables
Important
To generate the FORGOT_PASSWORD_SECRET and CRON_SECRET run the following command (one per variable).
node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
- Run the development server and thats it!
npm run dev
David Aragundy