Coder Social home page Coder Social logo

apochromat / chat-net Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 272 KB

Серверная часть командного проекта по созданию мессенджера с возможностью real-time общения и отправки файлов

C# 96.02% Dockerfile 1.28% HTML 2.70%

chat-net's Introduction

ChatNet

ChatNet is an API for chat application that allows users to chat with each other in real time.

Features

  • User registration and authentication
  • Creating and joining chats
  • Sending and receiving messages
  • Sending and receiving files
  • Receiving notifications in real time

Technologies and tools:

  • Framework: ASP.NET Core 7.0
  • Database: PostgreSQL
  • MessageQueue: RabbitMQ
  • Gateway: Ocelot
  • Real-time communication: SignalR
  • Logging: Serilog
  • Containerization: Docker
  • Reverse proxy: Nginx

Installation

On local machine

  1. Clone the repository
  2. Install requirements:
  3. Run services together:
    • ChatNet.Auth.API
    • ChatNet.Backend.API
    • ChatNet.Files.API
    • ChatNet.Gateway
    • ChatNet.Notification.API
  4. (Optional) Run service to work with notifications:
    • ChatNet.Notifications.Client

On server

  1. Clone the repository
  2. Configure Nginx:
    • Copy nginx.conf to /etc/nginx/sites-available/chatnet
    • Create a symbolic link to /etc/nginx/sites-enabled/chatnet
    • Restart Nginx nginx -s reload
  3. Install Docker and Docker Compose (link)
  4. Create docker network docker network create external-network
  5. Run docker-compose up -d to start the containers
  • Logs are stored in the /var/log/chat-net folder

API Documentation

Full API documentation is available at http://hostname/api/swagger/index.html

chat-net's People

Contributors

apochromat avatar coto-dev avatar

Stargazers

Alexander avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.