This is a basic twitter-like clone I made using Next.js. It uses Mysql for the database.
Run the development server with npm run dev
and view the project in the browser at http://localhost:3000
npm run dev
DATABASE_URL= NEXTAUTH_URL=http://localhost:3000 HOSTNAME="http://localhost:3000" NEXT_PUBLIC_HOSTNAME="http://localhost:3000" NEXTAUTH_SECRET= GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET=
The easiest way to deploy tweeter is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.