0.0.2 • Published 5 years ago
slowie v0.0.2
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 .envA mongodb instance running is required, you can change database url in
.envfile
Step 2: Install dependencies
yarn installStep 3: Run
yarn startStep 4: Open http://localhost:4000 to play with the APIs
Example
Take a look at user.ts