Skip to content

MichalSkoula/very-usable-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

very-usable-chat

Demo project - cross-platform server + client chat application.

Client - .NET console app with Terminal.Gui user interface

image

Run it:

  • copy vuc.example.json to vuc.json
  • change Server url
  • dotnet run

Server - ASP.NET Minimal API with EF Core and SQLite DB

Development:

  • create db: dotnet ef database update (creates db in ./data/vuc.db) OR just rename vuc.example.db
  • run it: dotnet run
  • Swagger API docs: /swagger/index.html

Production:

  • Published app should be copied to your webserver folder, for example: /var/www/your.server.domain/
  • SQLite database file is stored in /var/www/your.server.domain/data/vuc.db
  • vhost / reverse proxy example:
<VirtualHost *:80>
    ProxyPreserveHost On
    ProxyPass / http://0.0.0.0:5000/
    ProxyPassReverse / http://0.0.0.0:5000/

    ServerAdmin webmaster@localhost
    ServerName your.server.domain
    DocumentRoot /var/www/your.server.domain
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

About

An attempt to create a .NET client/server chat.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Languages