From breaking news to shitposts, get the latest information from people all over the world with this next-generation blazingly-fast social media app!
- Create, edit, and delete chirps (posts)
- Like and unlike chirps
- User authentication and profiles
- Follow and unfollow users
- View posts from followed users
- Search for users and posts
- Chirp Purple
- Next.js - Fullstack React framework 🚀💪
- Prisma - Database without the tears 😭
- tRPC - Typescript RPC framework 🦉
- Tailwind CSS - CSS framework 🎨
- MySQL - Database 🗃️
- Vercel - Frontend hosting ▲ (they're awesome
for sponsoring TechCodes) - PlanetScale - Vitess MySQL Database hosting 🗄️ (they're awesome too)
Extending https://create.t3.gg/en/folder-structure
src/components/[division]/[component-name].tsx - Contains reusable UI code for chirps, users, layout, or general UI stuff.
src/lib/** - Contains reusable code appropriate for other projects.
- Load the devcontainer defined in
.devcontainer/devcontainer.json - Create a
.env.localfile with the appropriate environment variables (see.env.example) - Run the development task in VSCode
Required tools (these are my versions, the app may or may not work on other versions):
node v19.9.0yarn 1.22.19docker 20.10.24
- Create a
.env.localfile with the appropriate environment variables (see.env.example) - Install dependencies:
yarn - Start MySQL service:
docker compose up - Set up the database:
yarn prisma db push - Start the app:
yarn dev - If everything went right, you should be able to access the app at
http://localhost:3000
Distributed under the MIT License. See LICENSE for more information.