Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Mongoke v2 #7

Open
remorses opened this issue May 2, 2020 · 6 comments
Open

Mongoke v2 #7

remorses opened this issue May 2, 2020 · 6 comments

Comments

@remorses
Copy link
Owner

remorses commented May 2, 2020

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 remorses pinned this issue May 2, 2020
@u007
Copy link

u007 commented May 7, 2020

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

@remorses
Copy link
Owner Author

remorses commented May 7, 2020

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

@u007
Copy link

u007 commented May 7, 2020

pls let me know where i could contribute :)

@u007
Copy link

u007 commented May 7, 2020

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

@remorses
Copy link
Owner Author

remorses commented May 7, 2020

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

@ralphievolt
Copy link

any update on this project?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants