go-messenger-demo

command module
v0.0.0-...-d28ffed Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: ISC Imports: 24 Imported by: 0

README

Go Messenger App Demo

Source code of the blog posts "Building a Messenger App":

DEMO

Get the code:

go get -u github.com/nicolasparada/go-messenger-demo

Copy the example .env file:

cp .env.example .env

Now, modify it with your own GitHub client ID and secret. In the Github page, set a callback URL like so http://localhost:3000/api/oauth/github/callback.

Start database instance:

cockroach start-single-node --insecure --host 127.0.0.1

Create database schema, build and run:

cat schema.sql | cockroach sql --insecure
go build -o messenger
./messenger

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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