AWS serverless project for managing eDent's information.
All lambdas are written in Python 3.6 and require a DynamoDB tables.
To locally run a service use on the working directory:
pip install -r requirements.txt
chalice local
chalice deploy
Method | URI Path | Description |
---|---|---|
GET | / | Gets the service message |
GET | /patients | Gets a list of all patients |
POST | /patients | Creates a new patient |
GET | /patients/{uid} | Gets a patient by id |
DELETE | /patients/{uid} | Inactivates a patient by id |
PUT | /patients/{uid} | Replaces a patient by id |
Method | URI Path | Description |
---|---|---|
GET | / | Gets the service message |
GET | /contacts | Gets a list of all contacts |
POST | /contacts | Creates a new contact |
GET | /contacts/{uid} | Gets a specific contact |
DELETE | /contacts/{uid} | Inactivates a specific contact |
PUT | /contacts/{uid} | Updates the data of a contact |
Method | URI Path | Description |
---|---|---|
GET | / | Gets the service message |
GET | /treatments | Gets a list of all treatments |
POST | /treatments | Creates a new treatment |
GET | /treatments/{uid} | Gets treatments of a patient |
GET | /rates | Gets the all the rates |
Method | URI Path | Description |
---|---|---|
GET | / | Gets the service message |
GET | /checkout | Gets a list of all pending payments |
POST | /checkout | Creates a new pending payment |
DELETE | /checkout/{uid} | Sets payment status to "payed" |
Method | URI Path | Description |
---|---|---|
GET | / | Gets the service message |
GET | /appointments | Gets a list of future appointments |
POST | /appointments | Creates a new appointment |
GET | /appointments/{uid} | Gets appointment of a patient |
DELETE | /appointments/{uid} | Sets appointment as attended |
PUT | /appointments/{uid} | Updates the appointment data |
Method | URI Path | Description |
---|---|---|
GET | / | Gets the service message |
GET | /upload/{uid} | Uploads an image with a unique id |
Architecture used for the following services: Appointments, Checkout, Contacts, Patients and Treatments