order-form
Version, currently master branch1 version
- master branchlatestJan 4, 2022
github.com/dscottboggs/order-form
Tiny web-app I whipped up for giving stuff away
Installation
# Add this to your shard.yml
dependencies:
order-form:
github: dscottboggs/order-form
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
1.2.2- License
- MIT
- Author
- D. Scott Boggs
- Target
order-formfrom src/order-form.cr
Dependencies
Runtime Dependencies
README
Order form
My partner had some plant cuttings after trimming the houseplants, and wanted to give away the clones, but didn't want to do it through Google forms. I told him I'd whip this up for him. Have us send you some plants!
The ideas fleshed out in this project are being reformulated into a more general-purpose "free-store" here.
Deploying
I know best practice is multi-layer security but this was a pretty low-effort project and it's not the end of the world if someone were to somehow get through.
$ git clone git@github.com:dscottboggs/order-form.git
$ cd order-form
$ make install
$ curl localhost:21229/products
Now, that gets you the exact site found at https://free-plants.tams.tech, but if you're not me then you probably want to change some things. The "notes about the plants" to the right are in order-form-client/src/views/OrderFrom.vue , they can be erased. Rewrite the config file with your list of stuff you want to give away and there ya go! Of course, then you need to configure a reverse proxy, certificates, DNS...isn't the internet fun?
I had considered setting up a Telegram or Matrix bot to notify me when there's a request, but I don't want to direct my effort in that direction right now, so I've just been checking the database once a day with:
$ mongosh --host order-form-mongo.local
test> use mongo
switched to db mongo
mongo> db.plants.find()
mongo> db.errors.find()
Contributing
- Fork it (https://github.com/dscottboggs/order-form/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- D. Scott Boggs - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jan 4, 2022
- Crystal
1.2.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/dscottboggs/order-form
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 26, 2026
- Synced
- Sep 26, 2026
- Versions
- 1