This is the backend for the official Pygmalion service.
Very early work-in-progress, not usable in any capacity. Also my first time writing Go, so very likely non-idiomatic.
If you wish to contribute, this section contains some relevant information.
The stack is:
- Golang as the language of choice
- Buffalo as the web framework
- PostgreSQL as the main database
To get started, you need all of the above installed and functional on your machine.
For development, the default configuration expects a paphos user with password paphos to be available. You can then create the databases manually, or use buffalo pop create -a.
With PostgreSQL up and running and the development database created, you can apply the migrations:
$ buffalo pop migrateAnd then boot up the development server:
$ PORT=3000 buffalo devThe API should then be reachable at http://localhost:3000/.
- fizz's documentation (migration DSL)