forvy / chat-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat-app using Mongo, Node, Nextjs

Getting Started

Copy .env.example to .env and update with your configuration.

Next install dependency for each client, server:

npm install

To run whole app go to each folder example cd client, cd server:

npm run start

If using Docker

The services can be run on the background with command:

docker compose up -d

To rebuild after file change:

docker-compose up --build

Using docker to Stop the System

Stopping all the running containers is also simple with a single command:

docker compose down

If you need to stop and remove all containers, networks, and all images used by any service in docker-compose.yml file, use the command:

docker compose down --rmi all

Open http://localhost:3000 with your browser to see the result.

About

License:MIT License


Languages

Language:TypeScript 48.1%Language:JavaScript 25.4%Language:CSS 24.3%Language:Dockerfile 2.2%