server

command module
v0.0.0-...-b325b5c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

server

The podcreep backend server and API.

Getting Started

Check out the three repositories. Ideally you'll want them in the same root directory, so something like this:

$ mkdir podcreep && cd podcreep
$ git clone git@github.com:podcreep/server.git
$ git clone git@github.com:podcreep/web.git
$ git clone git@github.com:podcreep/android.git

Dependencies

Go 1.17 is required to run the server.

Running locally

In order to run locally, you need to have a postgresql database set up and running. Any decently modern version should do.

Environment variables and running

Next, we use a couple of environment variable to configure the database connection, debug mode and admin secret password.

Finally, run the server. But make sure the environment variable above are visible to it!

$ go run main.go

There's a helper script that makes running locally a bit easier:

$ python3 run.py

Running a client

See either android/README.md or web/README.md for instructions on running the clients.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package admin contains the backend-management features we use to manage feeds, etc.
Package admin contains the backend-management features we use to manage feeds, etc.
Package rss ...
Package rss ...
Package store contains methods and structures that we use to persist our data in the data store.
Package store contains methods and structures that we use to persist our data in the data store.
util is not the best name for a package.
util is not the best name for a package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL