NextTalk is a real-time chat application that supports both individual and group chats. This is the Backend codebase of the application built using Nodejs, GraphQl and Prisma ORM. The database used is MongoDB.
Note : This is the Backend codebase of the application. The frontend codebase can be found here .
To run the application locally, follow these steps:
- Clone the repository:
git clone https://github.com/innovatorved/nexttalk-backend.git
- Install the dependencies:
cd nexttalk-backend
npm install
- Set up the environment variables:
cp .env.example .env
- Set up Prisma Configuration
npx prisma generate
npx prisma db push
Check the CONFIG.md file before Starting the Server.
- Start the serve :
For Development server change the NODE_ENV
variable in .env
to development
and run the following command:
npm run dev
For Production server change the NODE_ENV
variable in .env
to production
and run the following commands:
npm run build
npm run start
- Open http://localhost:4000 with your browser to see the result.
You can Also yse DockerFile to run the application locally
docker build -t nexttalk-backend .
docker run -p 4000:8080 nexttalk-backend
Note : Make sure to replace the values in .env
with your own values.
- Real-time individual chat
- Real-time group chat
- User authentication and authorization
- Ability to create, join and leave chat groups
- View list of online and offline users
- Search for users and chat groups
- Responsive design
Prisma ORM, MongoDB, GraphQl, subscriptions, Apollo Server, Nodejs
Contributions are welcome! Feel free to create a pull request or raise an issue. Please read the contributing guidelines before contributing.
This project is licensed under the MIT License - see the LICENSE file for details.
I'm a Developer i will feel the code then write .
For support, email vedgupta@protonmail.com