https://github.com/slurmulon/bach-rest-api
:musical_score: :satellite: Simple RESTful HTTP interface for the Bach library
https://github.com/slurmulon/bach-rest-api
api bach jam music notation rest
Last synced: 11 months ago
JSON representation
:musical_score: :satellite: Simple RESTful HTTP interface for the Bach library
- Host: GitHub
- URL: https://github.com/slurmulon/bach-rest-api
- Owner: slurmulon
- License: mit
- Created: 2017-08-21T07:15:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T20:48:20.000Z (over 5 years ago)
- Last Synced: 2025-02-14T06:30:58.943Z (about 1 year ago)
- Topics: api, bach, jam, music, notation, rest
- Language: Clojure
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bach-rest-api
> :musical_score: :satellite: A simple Restful HTTP interface for the Bach library
---
## Summary
`bach` is a notation for representing musical tracks with a focus on human readability.
You can find detailed information on the `bach` notation by visiting the [repository home page](https://github.com/slurmulon/bach).
This module simply wraps the core `bach` module with a thin RESTful interface.
## Usage
Run the server
```
make serve
```
Then `POST` to `/track` to validate and parse your bach tracks
```sh
curl -H "Content-Type: text/plain" -X POST -d "@/absolute/path/to/bach/file.bach" http://localhost:3000/track
```
That's it :sparkles:
## License
Copyright © 2020 Erik Vavro
MIT