Welcome to TikTok Clone! This project is a replica of the popular social media platform TikTok, built with React.js, TypeScript, GraphQL, Nest.js, Prisma, PostgreSQL, Tailwind CSS, Apollo, and Codegen.
- User authentication and authorization
- Create, edit, and delete videos
- Like and comment on videos
- Follow and unfollow other users
- Explore trending and new videos
- Search for videos and users
- Responsive design for mobile and desktop
- Clone the repository:
git clone https://github.com/yourusername/tiktok-clone.git
- Navigate into the project directory:
cd tiktok-clone
- Install dependencies:
npm install
- Set up the environment variables:
Create a .env
file in the root directory and add the following variables:
DATABASE_URL=your_postgres_database_url
- Run database migrations:
npx prisma migrate dev --name init
- Start the development server:
npm run dev
Once the development server is running, you can access the TikTok Clone application at http://localhost:3000
in your web browser.
- React.js
- TypeScript
- GraphQL
- Nest.js
- Prisma
- PostgreSQL
- Tailwind CSS
- Apollo
- Codegen
Contributions are welcome! Please fork the repository and create a pull request with your improvements.
This project is licensed under the MIT License.