|
Download spectrum/docs/api/intro.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 682 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/docs/api/intro.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/docs/api/intro.md
-
curl -L -o intro.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/docs/api/intro.md
682 Bytes
API
The Spectrum API is a Node.js web server based on Express.js and GraphQL. It's also houses a websocket server for all of our subscription needs.
Structure
This server follows a GraphQL-first philosophy. That means we design the GraphQL schema first and then start implementing business logic. This is great because it gives us a clear separation of concerns (business logic vs. schema), and it's how Facebook recommends to use GraphQL.