xychat

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 8 Imported by: 0

README

XyChat

A chat application built with Golang, VueJS, and PostgreSQL.

REQUIREMENTS

  • Go1.16.6
  • PostgreSQL

INSTALLATION

  • Create a database in your PostgreSQL.
  • Create and modify .env file (with the same structure as .env.example). The other way is that create environment variables in your machine with the same names as .env.example.

USAGE

Run the following command in terminal for more detail

$ go run main.go -h

Some examples

Reset the database

$ go run main.go -reset

Create an admin account

$ go run main.go -admin root:p@ss

Use values in .env file instead of environment variables

$ go run main.go -dotenv

Run the application

$ go run main.go -run

Then open your browser and access the web at http://domain:port/ui/. Example: http://localhost:1999/ui.

DOCKER

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
ws
v1
representations
v1
services
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL