slowie
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i slowie

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

184 kB

Total Files

215

Last publish

Collaborators

  • vanpho93