Rethinkdb Editor
Manage Rethinkdb databases and edit content
Techs
-
Backend: Go stdlib with Chi router
-
Frontend: Vue.js for data binding, Axios for http operations and Page.js for client-side routing
-
API: Graphql endpoint with Goregraph
Install and run
go get github.com/synw/rethinkdb-editor
go install github.com/synw/rethinkdb-editor
Grab the generated binary file and create a config.json
file in the same folder than the binary.
Set your database location and credentials:
{
"host": "localhost:8080",
"addr":"localhost:28015",
"user":"username",
"password":"password"
}
Then run and open http://localhost:8080
Note: this app is still under heavy development
Roadmap
- Backend: translate graphql queries to reql queries
- Backend: graphql server
- Explore databases and tables
- Fetch arbitrary documents from the database
- Format documents and detect types
- Backend mutations to save document
- Add document
- Query timeout
- Display more info in ui about query results
- Basic inline edit features
- Add option to use Codemirror to edit some fields
- Users and group permissions management
- Alternate simplified ui for editors with limited rights
- Delete documents
- Create databases and tables
- Table level imutability option
- Start with the collaborative editor feature
Todo
- Nested pluck queries
- Secondary indexes queries
- Range queries
- Detect date type and use date picker widget