Pompey21 / Client-Server-Rust-2

A simple client-server application but I start from scratch!
0 stars 0 forks source link

Create Different Structs for Type of Messages Sent #27

Closed Pompey21 closed 1 year ago

Pompey21 commented 1 year ago

Types of Messages / Requests that will be sent:

POST User - want to create a new User in the Illuminati Server

POST Offer - want to create a new Offer in the Illuminati Server

GET Offer - want to obtain the best offer from the Illuminati Server, based on the user's preferences

Let's first follow a simple policy, that is a User already exists, then it cannot be created. If an offer already exists, then it cannot be created - think how the user can delete an offer.

Pompey21 commented 1 year ago

image

Pompey21 commented 1 year ago

Done!