Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/trilobit/go-chat

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/trilobit/go-chat

  • v0.0.0-20191028095533-9cb15391c1e0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Simple Chat Application

Project written with GoLang. Uses PostgreSQL as storage. Registration and simple authorization are included.

Project setup

Copy example.config.yml to dev.config.yml for development or prod.config.yml for production and fill arguments in it.

Build binary container

docker build -t gochat:latest .

Compile for development

Just run docker-compose

docker-compose up -d

It runs containers with binary and db. And also run migrations if necessary.

Deployment

It project can be deployed with docker. It depends on another PostgreSQL container.

docker run --rm --link [pg-container] -v `pwd`/prod.config.yml:/config.yml -p 9090:9090 -p 9091:9091 gochat:latest

To get current version run command:

docker run --rm --link [pg-container] -v `pwd`/prod.config.yml:/config.yml -p 9090:9090 -p 9091:9091 gochat:latest /chat --version

Built With

Project created with GoLang 1.13

Authors

  • Alexander Savchuk - main contributor - trilobit
  • Pavel Makarenko - mentor and teacher - m1ome

License

This project is licensed under the MIT License

FAQs

Package last updated on 28 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc