https://github.com/tobybatch/bug-free-octo-spork
https://github.com/tobybatch/bug-free-octo-spork
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tobybatch/bug-free-octo-spork
- Owner: tobybatch
- Created: 2021-09-20T19:15:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-22T08:06:31.000Z (over 3 years ago)
- Last Synced: 2025-01-15T02:39:20.754Z (4 months ago)
- Language: JavaScript
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TB Message Server
## Quick start
yarn # install deps
npx husky install # set up code rules
docker-compose up -d # create mongo db
yarn start # start the server
wget -q -O - http://localhost:3000/messages # get a list of all messages## Send a message (CLI)
curl -X PUT -H "Content-Type: application/json" -d '{"dest":"gabriel", msg: "oh my god its full of stars"}' "http://localhost:3000/messages"