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

Backend: Draft Requirements #4526

Open
JustWaveThings opened this issue May 12, 2024 · 0 comments
Open

Backend: Draft Requirements #4526

JustWaveThings opened this issue May 12, 2024 · 0 comments

Comments

@JustWaveThings
Copy link
Contributor

JustWaveThings commented May 12, 2024

Again, I'm just typing to get something to iterate over.

Backend on get request

  • controller sends view to client

(** - skip for simple end-to-end example)
Backend on post request

  • controller with middleware
  • **sanitizes/validates received user data
  • **normalizes received data to prepare to be added to database
  • sends the data to the correct db table
  • **if adding user data to db was successful, send success response to user
  • **else send failure message to user (this needs fleshed out more)
@JustWaveThings JustWaveThings changed the title Backend Draft Requirements Backend: Draft Requirements May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog / Ideas
Development

No branches or pull requests

1 participant