Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(allsrv): add simple server daemon for allsrv
To run the daemon run the following from the root of the git repo: ```shell go run ./allsrv/cmd/allsrv ``` A sample query to get started: ```shell curl -u admin:pass -H 'Content-Type: application/json' -X POST http://localhost:8091/v1/foos --json '{"data":{"type":"foo","attributes":{"name":"the first","note":"a note"}}}' ``` Play around with the daemon. Hit both v1 and v2 APIs. How do the two `Server` versions compare? Now that we have a sample server up and running, let's discuss what it looks like to start moving on from the original mess. The first thing we need to do is start communicating our intent to deprecate, and eventually sunset the original APIs. I can't stress this enough, **communication is key**. It should be everywhere and EXTREMELY obvious. In the code, you can add deprecation/sunset headers. Let's start there, go on and add deprecation headers to ALL the original endpoints.
- Loading branch information