Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
/ ustart Public archive

NodeJS framework for building GraphQL backends using Apollo, Sequelize, Mongoose, Graphql shield and other great tools

License

Notifications You must be signed in to change notification settings

ustart-dev/ustart

Repository files navigation

uStart

uStart is a NodeJS framework for building GraphQL backends using Apollo, Sequelize, Mongoose and other great tools. Check out our site ustart.dev.

Getting started

Ensure you have the latest Node installed

You have to be on Node >= 8.x

Create a new folder for your project

mkdir awesome-project
cd awesome-project

Initialize with the ustart CLI. This will create the project structure and install all NPM dependencies for you

npx ustart-cli init

We use npx to avoid global installation of the CLI. Once npx finish the ustart-cli will be available as a local package by typing npx ustart <command>.

Verfying Installation

Run your project

npm run start

If everything has gone well your console will log:

NODE_ENV: development
Server is running on http://localhost:4000

Good, that means you have running the playground on localhost port 4000.

Execute your first query. Open your browser and open localhost:4000, go to the left panel and type:

query {
  hello
}

Press the play icon in the middle of both panels, then the right panel should show:

"data": {
  "hello": "Hello there, everything is right. You can keep reading the docs!"
}

If the response is the same you are ready to play!.

Go and try our first example on ustart.dev.

About

NodeJS framework for building GraphQL backends using Apollo, Sequelize, Mongoose, Graphql shield and other great tools

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published