Skip to content

Xzya/headless-cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Headless CMS

This is an attempt to make a Headless CMS in go.

API documentation

You can find the API documentation here.

Requirements

  • Go 1.10
  • dep for installing the dependencies
  • go-swagger for generating the server stubs
  • A database, e.g. PostgreSQL

Running the project

First, generate the server stub from the swagger definition

./gen.sh

Install the dependencies using dep

dep ensure

Build the executable

./build.sh

Run the binary

./main

Run --help to check the available parameters

./main --help
Usage of main:
  -database string
        The database name (default "cms")
  -db-host string
        The database hostname (default "localhost")
  -db-port string
        The database port (default "5432")
  -dialect string
        The database dialect (default "postgres")
  -pass string
        The database password (default "test")
  -port int
        Port to run this service on (default 3000)
  -user string
        The database username (default "test")

Dashboard

You can find a dashboard for the project here.

Built using

License

Open sourced under the MIT license.

About

A Headless CMS written in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published