notesmachine/server/nm-store
Elf M. Sternberg 1b8e1c067d derive_builder pattern is applied successfully.
This is mostly an exercise to understand the derive_builder pattern.
It required a few tips to get it working, but in the end, it's
actually what I want.

I also learned a lot about how the Executor pattern, the Results<> object,
error mapping, and futures interact in this code.  This is going to be
incredibly useful long-term, as long as I still keep this project "live"
in my head.
2020-10-08 12:18:08 -07:00
..
docs Not working. 2020-10-06 08:01:25 -07:00
src derive_builder pattern is applied successfully. 2020-10-08 12:18:08 -07:00
.gitignore DOC Phase one committed to the project, the basic layout of the backstore. 2020-09-27 05:35:37 -07:00
Cargo.toml derive_builder pattern is applied successfully. 2020-10-08 12:18:08 -07:00
Makefile DOC Rustfmt works. 2020-09-29 08:08:30 -07:00
README.org DOC Phase one committed to the project, the basic layout of the backstore. 2020-09-27 05:35:37 -07:00

README.org

Notesmachine Store

This is the storage layer for Notesmachine. It supports the retrieval of the basic information from Notesmachine, but it never reveals the underlying mechanisms by which it performs its magic. The "ids" leaving this API will always be the textual ids used in all public representations:

  • Boxes are referenced by slugs, and clients must accept uniqueness failures.
  • Notes are referenced by "friendly_id" format strings, which are base-62 formatted versions of UUID4 strings.

Plans

TODO Make it possible to save a note

TODO Make it possible to retrieve a note

TODO Read how others use SQLX to initialize the database

TODO Implement CLI features

TODO Make it possible to connect two notes

TODO Make it possible to save a page

TODO Make it possible to connect a note to a page

TODO Make it possible to retrieve a collection of notes

TODO Make it possible to retrieve a page