Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.
/ gocomment Public archive

A simple comment system in golang (backend) and react (frontend).

License

Notifications You must be signed in to change notification settings

snorremd/gocomment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocomment

Not developed any further.

An experiment in building a comment system. Runs a RESTish comment server built on go and an embeddable client side application built on the re-frame framework on top of ClojureScript.

Still very much work in progress!

Development Mode

Make sure you install both go and leiningen. Go >= 1.9 and Leiningen >= 2.8.1 on Java 9 is the current development environment used by myself. Older versions might not work as expected.

Run application:

Start the gocomment go http server. It will create the comments.db sqlite database if it does not already exist and start serving the API at localhost:8080.

DB=comments.db  HOST=localhost:8080 go run api/main.go

Start a nrepl and figwheel repl to compile the Clojurescript code and serve a client side code with hot code reload at localhost:3449. You can run (js/alert "Hello browser!") to check if the repl works as you would expect.

lein dev

Production Build

TODO

About

A simple comment system in golang (backend) and react (frontend).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published