social media app with next js, hono, next-auth, react-query and drizzle orm
MIT License
A modern social media application built using Next.js, Hono, Drizzle ORM, and React Query. This app allows users to connect, share posts, and engage with a community.
To get a local copy of this project up and running, follow these steps.
Clone the repository:
git clone https://github.com/mo-hassann/social-app.git
cd social-app
Install dependencies:
Using Bun:
bun install
Set up environment variables:
Create a .env
file in the root directory and add the following variables:
DATABASE_URL=your_database_url
DATABASE_SECRET=your_database_secret
DRIZZLE_DATABASE_URL=your_database_url_for_drizzle
AUTH_SECRET=any_random_secret
NEXT_PUBLIC_APP_URL=http://localhost:3000
Run database migrations:
Ensure your database is running and then run:
bun run migrate
Start the development server:
bun dev
Open http://localhost:3000 to view the app in your browser.
bun dev
bun run build && bun start
We welcome contributions to this project. Please follow these steps to contribute:
git checkout -b feature/your-feature-name
).git commit -m 'Add some feature'
).git push origin feature/your-feature-name
).Please make sure to update tests as appropriate.
Distributed under the MIT License. See License for more information.