This is a monorepo for the ChatApp Turbo project, built using Turborepo.
To get started, clone the repository and install dependencies:
git clone https://github.com/Vijay-kumar-bantu/chat-app-turbo
cd chatapp-turbo
pnpm installThis monorepo includes the following packages/apps:
Frontend: a React.js app for the chat interfacebackend: a Node & express js server@chatapp/ui: a shared React component library used by bothFrontendapplication@chatapp/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)@chatapp/typescript-config:tsconfig.jsons used throughout the monorepo@chatapp/utils: useful functions through out the monorepo
Each package/app is 100% TypeScript.
This monorepo has the following tools pre-configured:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Before running the application, ensure you create .env for dev and .env.prodfor docker for both the frontend and backend applications. Use the .env.example files provided in their respective directories as a reference.
# For frontend
cp apps/frontend/.env.example apps/frontend/.env
# For backend
cp apps/backend/.env.example apps/backend/.envTo build all apps and packages, run the following command:
pnpm buildTo develop all apps and packages, run the following command:
pnpm devTo run the application using Docker, ensure you have Docker and Docker Compose installed on your system. Then, follow these steps:
-
Build the Docker images and start the containers:
docker-compose up -d --build
-
The application will be available at the respective ports defined in the
docker-compose.ymlfile. -
To stop and remove the containers, use:
docker-compose down
Make sure to check the docker-compose.yml file for configuration details.
Here are some screenshots of the application:
Vijay Kumar Bantu
Email: capvijju24@gmail.com

