Open Wulf opened 2 years ago
I'm happy to take this on if no one else has
hey @Isaac-Leonard, hope everything is well :)
Sounds awesome, please do, no one else is actively working on this at the moment.
I'll be happy to help as you go through this. The project has changed a lot since this issue was created, but we can still use the checklist above as a starting point.
Also, sorry for the late reply -- I was in the middle of a move!
I’d also be willing to give advice and suchOn Dec 10, 2023, at 9:31 AM, Haris @.***> wrote: hey @Isaac-Leonard, hope everything is well :) Sounds awesome, please do, no one else is actively working on this at the moment. I'll be happy to help as you go through this. The project has changed a lot since this issue was created, but we can still use the checklist above as a starting point. Also, sorry for the late reply -- I was in the middle of a move!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
Adding a backend framework
Base requirements for each framework:
BackendFramework
enummain.rs
which starts the server increate-rust-app_cli/template/src/
/api/todos
endpoints (seetodo.rs
below)#[cfg(not(debug_assertions))]
) serves files from./frontend/build
with theindex.html
as the defaulttodo.rs
which serves the CRUD endpoints for the example 'todo' service increate-rust-app_cli/template/src/services
GET /
: returns a JSON list of all TODO itemsGET /id
: return a single JSON TODO itemPOST /
: creates and returns a single JSON TODO itemPUT /:id
: updates and returns a single JSON TODO itemDELETE /:id
: deletes a single item, returns 200 status codeOptional requirements:
(we can get to these later)
/api/auth
routesfiles.rs
)