Andadurias / Instant-Notes

Micro journaling app to reduce the effort of taking notes, managing memories and connecting ideas
The Unlicense
2 stars 1 forks source link

We need a server to manage db petition #9

Closed BlancaCC closed 1 year ago

BlancaCC commented 2 years ago

In order to connect to #7 we need to implement a server (Better @pablojjimenez ?)

BlancaCC commented 2 years ago

For simplicity we are going to use Flask

Some interesting sources:

BlancaCC commented 2 years ago

In order to solve this we need to:

BlancaCC commented 2 years ago

API REST DESIGN

The essential endpoints are:

Sources

BlancaCC commented 2 years ago

To dockerize the server: Sources:

pablojjimenez commented 2 years ago

API REST DESIGN

The essential endpoints are:

  • [ ] Save information (post)
  • [ ] Read information (get)
  • [ ] Change information (put)
  • [ ] Delete (delete)

Sources

About changing information I'd say that what we want is to be able to change/update information. Depending on the use case, PATH verb might be more appropriate...

pablojjimenez commented 2 years ago

For simplicity we are going to use Flask

Some interesting sources:

Did you consider Fast-API?

BlancaCC commented 2 years ago

For simplicity we are going to use Flask Some interesting sources:

Did you consider Fast-API?

It looks cool, thanks 😊 For my purpose they are more or less the same, but I would try Fast-API

BlancaCC commented 2 years ago

Fast-API docker tutorial

BlancaCC commented 1 year ago

This is not a minimal product at this time