A modern social networking application built with cutting-edge technologies.
- Nest.js (Node.js framework)
- Redis (for caching)
- PostgreSQL (database)
- Prisma (ORM)
- Next.js (React framework)
- Tailwind CSS
- Turborepo (monorepo build system)
- Yarn (package manager)
This project is set up as a monorepo using Turborepo and Yarn workspaces. The main directories are:
apps/
: Contains the main applicationsapi/
: The Nest.js APIweb/
: The Next.js web application
packages/
: Shared packages and configurationsui/
: Shared UI componentsdatabase/
: Shared Prisma schema and migrationsconfig-tailwind/
: Shared Tailwind configurationconfig-eslint/
: Shared ESLint configurationsconfig-prettier/
: Shared Prettier configurationconfig-tsconfig/
: Shared TypeScript configurations
-
Clone the repository:
git clone https://github.com/kafeindev/social-app.git cd social-app
-
Install dependencies:
yarn install
-
Set up environment variables: Create
.env
files in the following directories:apps/api/.env
packages/database/.env
Copy the contents from
.env.example
and fill in the values. -
Set up Prisma:
yarn db:migrate:dev yarn db:seed
-
Run the development server:
yarn dev
This project is licensed under the MIT License - see the LICENSE file for details.