mongoke icon indicating copy to clipboard operation
mongoke copied to clipboard

Mongoke v2

Open remorses opened this issue 4 years ago • 6 comments

A new release is on the way, i opened this issue to let people interested in this project share their opinions and ideas

Help me spread the word via twitter if you like the project!

The v2 will add features like

  • Rewrite in Golang
  • No need for Docker
  • Mongoke Cli
  • Mutations Support
  • Auto generate typescript graphql client (via graphql-zeus)

No need for docker

This project aims to make the frontend developers lifes better but usually frontend developers don't know how to use docker, so i decided to make a mongoke cli that starts the server without the need to install docker

Docker has also another problem, images get cached and you won't probably get the last varsion and features for a long time

Mongoke cli

This cli will

  • Validate the configuration
  • Start the generated Mongoke on specified port
  • Mock the data if requested (no need to have a database running)
  • Generate typed graphql client (via graphql-zeus)
  • Watch for changes to the config, reloading the server and regeneratig the js client

Mutations

Mutations will give you a typed database client, this is useful given that mongodb has not a first class schema support, it will prevent many bugs related to inconsistencies to the schema design. You could use the generated js client in a similar way you use now Prisma.

Generate typescript graphql client

This will be based on the graphql-zeus or graphql-typed-client, let me know what you like more

This is a great time to request new breaking change features requests if you have any

Currently i am rewriting everything in golang to get better performance, using the knowledge already acquired making the python version

remorses avatar May 02 '20 13:05 remorses

is it possible to proxy our own graphql for other db such as mysql?

u007 avatar May 07 '20 09:05 u007

I am currently everything everything in Golang as the current code is impossible to maintain, I can make the functions that get the objects from database very general so it will be possible someday

There could be a mongoke-mysql version that uses a MySQL dB instead of mongo

remorses avatar May 07 '20 12:05 remorses

pls let me know where i could contribute :)

u007 avatar May 07 '20 13:05 u007

personally, i like golang, but recent changes with introducing dart2native, ive changed my mind. i needed a platform that is more flexible. until golang 2.0 is out, i prefer to use a least platform so that i do not have to implement a lot of interfaces

u007 avatar May 07 '20 13:05 u007

Wait until I merge the Golang branch, then you can fork it and replace the mongodb functions

remorses avatar May 07 '20 18:05 remorses

any update on this project?

ralphievolt avatar Aug 21 '20 11:08 ralphievolt