A lightweight Golang API framework. Aims to be easily extendable and customisable.
- Start the Docker containers:
docker-compose up -d
- Create a default Cassandra keyspace and table (this will be automated in the future):
CREATE KEYSPACE IF NOT EXISTS go_gopher_api
WITH replication = {'class': 'SimpleStrategy',
'replication_factor' : 1}
CREATE TABLE "go_gopher_api"."user" ("id" TIMEUUID, PRIMARY KEY (id));
ALTER TABLE "go_gopher_api"."user" ADD "name" TEXT;
ALTER TABLE "go_gopher_api"."user" ADD "email" TEXT;
- Start the API web server:
go run src/api/server/main.go
- Run the example queries via the client:
go run src/api/client/example/request.go
This project is making use of the following third party libraries, check them out!
I'm building this to improve my Go programming. If people find it useful, that's a big bonus!