View Live | Report Bug | Request Feature
api.mstacm.org is the primary Apollo GraphQL API that drives all database interactions from all frontend clients. Primary features include but are not limited to:
To get a local copy up and running follow these simple steps.
# Make sure to setup ssh keys on your github account
# https://help.github.com/en/articles/adding-a-new-ssh-key-to-your-github-account
git clone [email protected]:sigdotcom/mstacm.org.git
api directory:cd api
yarn install
cp .docker/web.env.default .docker/web.env
docker-compose:docker-compose up
>>> docker-compose up
# ... meaningless output ...
phoenix_web_1 | Server is running, GraphQL Playground available at:
phoenix_web_1 |
phoenix_web_1 | http://localhost/graphql || http://localhost:4000/graphql
Navigate to http://localhost/graphql. NOTE:
if you are using Docker on Windows 10 Home, you need to put the IP of your
docker-machine instead of localhost. This is usually something like
192.168.99.100. The IP can be found by launching the Docker Quickstart Terminal and looking at the top of the terminal or by running:
docker-machine inspect --format='{{.Driver.IPAddress}}' default
If the IP is correct, You should see something like:

To interact with api.mstacm.org, we recommend installing Altair or Insomnia. Altair by itself is a much better GraphQL client, but Insomnia is quickly catching up in terms of GraphQL-specific features and has more features in-general.
We will use Insomnia to show off basic usage, but the lessons apply to both clients.
Open the Insomnia client:

Click the New Request button or use the keyboard shortcut on the primary
page. This will show:

Change 'GET' -> 'POST' and 'No Body' -> 'GraphQL'. This will look like:

Click 'Create' to create the new query. This will send you back the main screen.
Add the URL you connected to in the Installation section to
the URL bar on the top. This will look like:

Wait a couple of seconds and click the 'show schema' button on the right.
This will look like:

Click 'Show Documentation' which should open up a menu on the right like:

If you do not see the picture above, go back through the instructions and make sure you followed everything correctly.
Look through the documentation to see all of the features the api has.
Play around with the Insomnia schema-based auto-completion by typing in some
sample commands and hitting 'send':

See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
If you are apart of ACM Web:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)If you are not apart of ACM Web:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)Distributed under the MPL-2.0 License. See LICENSE for more information.
ACM Web - [email protected]
Project Link: https://github.com/sigdotcom/mstacm.org
docker pull acmweb/api:latest