This repository contains the source code for a realtime chat application implemented using NextJS RSC (React Server Components) and GraphQL. This application is divided into two main sections: server (backend) and user interface (frontend).
This project uses pnpm. Please follow the instructions on their website to install it if you haven't done so already.
You can install all dependencies by running:
pnpm i
If you're using npm or yarn instead of pnpm, you will need to manually install the dependencies in each folder.
For the server:
cd server
npm install
# or
yarn install
And for the UI:
cd ui
npm install
# or
yarn install
To start the server, run:
pnpm server:start
To start the UI, run:
pnpm ui:start
If you're using npm or yarn, you can start each part of the application separately as follows:
For the server:
cd server
npm start
# or
yarn start
And for the UI:
cd ui
npm run dev
# or
yarn dev
Please ensure that both the server and UI are running to fully use the chat application.
Feel free to submit issues or pull requests, we appreciate your feedback!
This project is open source and available under the MIT License.