Commit Graph

3 Commits

Author SHA1 Message Date
8f45dbe563
style(*): edit indents 2023-12-29 20:53:29 -05:00
c8bdcc0ec3
refactor(server/utils): create reusable utilities for various story-related functions
`bodyHandler` takes a request body and returns the chapter content as a string
`formChapterTransform` serializes a chapter-like object supplied in a request body to an actual
	proper chapter object
`getBucket` retrieves the story content gridfs bucket
`replaceGridFS` either creates or updates (deletes + reuploads) a gridfs file
2023-10-03 00:42:24 -04:00
ff4b94d913
feat(api): ✏️ add story api endpoints
(update/create/delete)
2023-10-02 15:44:55 -04:00