It's the start of a Service/REST API/Whatever you want to call it for the front of the new Bored Board to consume.
It's written in Golang, so here is some handy setup instructions:
- Install Golang (greater than 1.11.4)
- Set an envirnonment variable of
GO111MODULE=on
- Setup a GOPATH that makes sense, and get this project setup there
- Install
openssl
if you don't have it and in the project root run:mkdir .keys && openssl genrsa -out .keys/app.rsa 1024 && openssl rsa -in .keys/app.rsa -pubout > .keys/app.rsa.pub
- Run
go mod download
from the root to get necessary dependencies setup - Run
go run main.go
and the app should start - Using Postman, etc... you can send a
GET
request tohttp://localhost:8000/thread
and you'll get a test response if everything is working
- Ensure you have Docker installed
docker-compose up
in the root- This should get everything up and going, and you should be able to make code changes on the fly
Yes, please. File an issue to let us know what you are working on, and then submit a PR that associates with your issue.
280-330-8004