piolad / chat-app

3 stars 1 forks source link

Real-Time Chat Application

Overview

This real-time chat application enables users to communicate with each other in real-time. It's built on a microservices architecture using Docker, with services written in Python, C#, and C++.

General design

Features

Getting Started

Prerequisites

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/piolad/chat-app.git
cd real-time-chat-app
  1. Run the postrgres database in docker:
docker network create auth-network
docker run --net auth-network --rm -p 5432:5432 --name auth-service-db -e POSTGRES_PASSWORD=mysecretpassword -d postgres
docker build -t auth-service:0.6 .\auth-service\
docker run --rm  --net auth-network --name auth-service auth-service:0.6

Or you can do

docker-compose up
  1. To finish run:
    docker-compose down --rmi local --volumes
  2. To see the logs of docker:
    docker-compose logs -f
  3. To run aspnet app withouot docker, with hot changes in html
    dotnet watch run
  4. To see the file as md format
    ctr+shift+v