https://github.com/everlag/preordain-backend
backend for preorda.in
https://github.com/everlag/preordain-backend
backend deprecated magic-the-gathering scraping
Last synced: 9 months ago
JSON representation
backend for preorda.in
- Host: GitHub
- URL: https://github.com/everlag/preordain-backend
- Owner: Everlag
- License: other
- Created: 2015-01-12T17:13:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-24T20:25:30.000Z (over 10 years ago)
- Last Synced: 2025-02-22T00:25:10.054Z (over 1 year ago)
- Topics: backend, deprecated, magic-the-gathering, scraping
- Language: Go
- Homepage:
- Size: 5.59 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# preordain-backend
This powers the backend over at [preorda.in](https://preorda.in).
## Organization
This repo is organized into several distinct areas.
+ api - RESTful api designed to be daemonized. Each directory is a specific api.
+ utilities - a series of utilities that handle developing and acquiring static content in the site.
+ common - small packages used to centralize access around specific resources.
Dependencies between major sections are avoided. Additionally, avoid co-dependencies between subsections of major branches; move them to common.
## Deployment
All packages have a number of environment variables which allow consolidating common resource dependencies. These include `SETLIST`, `MTGJSON`, and others.
Each package is standardized around assuming that any unset environment variable means the current working directory. This is useful for development but obviously goes against best practices in production.