Welcome to the Social Media project! This is a full-stack web application built with Next.js, Prisma, and React. It provides a platform for users to connect, share content, and engage with each other.
- User authentication and authorization
- Real-time chat functionality
- Rich text editor for posts
- Image uploading and resizing
- Responsive design with Tailwind CSS
- Dark and light mode support
- Admin dashboard for managing content
- Frontend:
- Backend:
- Database:
- PostgreSQL (or your chosen database)
Make sure you have the following installed:
- Node.js (>= 14.x)
- npm or yarn
- PostgreSQL (if using)
- Clone the repository:
git clone https://github.com/yourusername/social_media.git cd social_media
- Install dependencies:
npm install --legacy-peer-deps
- Set up your database:
-
Update your database connection in the .env file.
-
Run Prisma migrations:
npx prisma migrate dev
To start the development server, run:
npx prisma migrate dev
To build the application for production, run:
npm run build
Then, start the production server with:
npm run start
This project is licensed under the MIT License. See the LICENSE file for details.