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

[server] Create a REST endpoint to store data into the database #49

Open
jmaister opened this issue Aug 7, 2022 · 0 comments
Open

[server] Create a REST endpoint to store data into the database #49

jmaister opened this issue Aug 7, 2022 · 0 comments

Comments

@jmaister
Copy link
Contributor

jmaister commented Aug 7, 2022

Create a REST endpoint to create a row in the database from the UI.

Create a row:
POST /api/models//

Update a row:
PUT /api/models//

Steps:

  1. Receive data
  2. Find the appropriate moddl
  3. Create object
  4. Store in the database using GORM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant