- Make a single configurable tool to act as hackathon infrastructure to stop repetitive coding of the same app by every hackathon in existance.
- Be simple to use and configure so that everyone can have ther own app.
- Easy to run, low deployment cost.
- Create a MongoDB Atlas account.
- Create a free-tier tier cluster.
- Create a stitch application and link it to your new cluster.
- Fork this github repo.
- Clone locally.
npm install
- Edit the variables and files in the config folder.
- Commit your changes
npm run deploy
- In your fork on github, under settings, turn on github pages.
- Point your DNS at this page with a CNAME entry.
After the first deploy you can just edit config and re-run the deploy script
npm install
npm run dev
- Open localhost:8080
Overwrite the content in the config directory and it will be applied to your app. Static content can be written in either Markdown or HTML.
Runtime variables can be set per environment via the appropriate <env>.json
file in ./config/
.
See the schema in ./config/config_schema.json
for how each variable should be set.