Sofa takes your GraphQL Schema, looks for available queries, mutations and subscriptions and turns all of that into REST API. Setup Sofa within a single line of code and start using REST API right away. We want to hear from you, our community of fellow engineers, and come to be collaborators. Sofa takes your GraphQL Schema, looks for available queries, mutations and subscriptions, and turns all of that into REST API. The idea behind Models is to not expose full objects in every response, especially if it's nested, not first-level data. For example, when fetching a list of chats you don't want to include all messages in the response, you want them to be just IDs (or links). Those messages would have to have their own endpoint. We call this type of data, a Model. In REST you probably call them Resources.

Features

  • Sofa takes your GraphQL Schema, and looks for available queries
  • Fully RESTful API
  • Easy To Use
  • Setup Sofa within a single line of code and start using REST API right away
  • Examples with builtin express-like frameworks support
  • Generate RESTful APIs from your GraphQL Server

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow SOFA

SOFA Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SOFA!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2023-03-07