/SQuriL

Primary LanguageJavaScriptMIT LicenseMIT


Contributors Stargazers Forks

Table of Contents
  1. Background
  2. About SQuriL
  3. Getting Started
  4. For Developers
  5. Contributors
  6. License

Background

GraphQL is a query language and server-side runtime for application programming interfaces (APIs) that prioritizes giving users the exact data they request and nothing more. GraphQL provides a complete and understandable description of the data in a client's API, making it easier to evolve APIs over time and enables powerful developer tools.

The barrier of entry for GraphQL can be daunting - making the switch to GraphQL can be labor intensive and time consuming. On top of that, there aren't many options for both generating usable GraphQL schema for both Node.js and TypeScript environments and also storing them for future use and reference.

(back to top)

Meet SQuriL

Meet SQuriL, an open source GraphQL schema generation and storage tool that creates customized, production-ready GraphQL schemas from a PostgreSQL URI for both Node.js and TypeScript compatible environments. Simply log in with your GitHub account and start generating and saving your GraphQL schemas today!

Accelerated by OS Labs.

(back to top)

Getting Started

Sign In Using GitHub OAuth

No need to create a new username and password - users simply login with their already established GitHub accounts through SQuriL's GitHub OAuth option on the main landing page.

Link Your Database and Generate Your GraphQL Schema

Simply copy and paste your PostgreSQL URI into the address bar at the top of the application dashboard page and hit -Go- Within seconds, both your Node.js and TypeScript compatible GraphQL schema code will be populated within the application's code windows.

Save Your Schema

Once generated, both Node.js and TypeScript schemas can be saved by users for future database querying needs.

Export Your Code

With a simple click, users can export their schema code to .js and .ts files for local storage.

(back to top)

For Developers

Built With

SQuriL was built using the following frameworks and libraries:

Project Setup

Required software for setting up this application:

  1. Clone the repo.

    git clone https://github.com/oslabs-beta/SQuriL
    cd SQuriL
  2. Install the package dependencies.

    npm install
  3. The application can be run in development mode by running the following command and going to http://localhost:8080/ on your browser.

    npm run dev
  4. Unit testing can be run by the following command:

    npm run test

(back to top)

Contributors

Diana R Kim LinkedIn | GitHub

Frank Nguyen LinkedIn | GitHub

Mark Charles Smith LinkedIn | GitHub

Michael Trapani LinkedIn | GitHub

(back to top)

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

(back to top)