Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guide on how to create custom backends #322

Open
thomafred opened this issue Jan 11, 2022 · 5 comments
Open

Add guide on how to create custom backends #322

thomafred opened this issue Jan 11, 2022 · 5 comments
Labels
api layer documentation Improvements or additions to documentation

Comments

@thomafred
Copy link

Hi there,

I am looking at writing a new backend, but am a little unsure where to begin.

It would be really nice with a short guide on how to implement custom backends.

@thomafred
Copy link
Author

Side note - @jonhealy1 appears to have started work on a NoSQL backend. Pretty cool!

@jonhealy1
Copy link
Collaborator

@thomafred Hi. What kind of backend do you want to create? The most important piece is changing the database logic. I just copied the sqlalchemy folder, renamed it, and then changed the calls in core.py and transactions.py. That wasn't all there was to it - you have to set up your db in config.py for one thing - but I thought it was a good place to start. I was able to re-use most of the backend code in sqlalchemy even though I changed it to mongo. A guide would be great.

@thomafred
Copy link
Author

@jonhealy1 - Thank you so much for you input, this will take me a long way.

I am contemplating a backend for an industrial datalake.

@jonhealy1
Copy link
Collaborator

Cool.

@geospatial-jeff
Copy link
Collaborator

I can start working on some documentation, the project needs it badly 😅

@jonhealy1 jonhealy1 mentioned this issue Jan 14, 2022
4 tasks
@geospatial-jeff geospatial-jeff added documentation Improvements or additions to documentation api layer labels Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api layer documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants