0.0.2 • Published 3 years ago

slowie v0.0.2

Weekly downloads
241
License
MIT
Repository
-
Last release
3 years ago

CircleCI Coverage Status

Slowie

A new framwork for graphql - mongodb - redis - kakfa focus on speeding up API development process.

The idea

You define a model, all APIs will be generated in graphql. Instead of doing tedious jobs in many files (model, service, controller, api docs), you just define a model in a single file, all APIs will be ready. In the future, we can add more and more options, therefore making the code more reusable and fun.

Development env

Step 1: Copy env file

cp sample.env .env

A mongodb instance running is required, you can change database url in .env file

Step 2: Install dependencies

yarn install

Step 3: Run

yarn start

Step 4: Open http://localhost:4000 to play with the APIs

Example

Take a look at user.ts