Coder Social home page Coder Social logo

aabduvak / hospital-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.04 MB

Hospital API is a cutting-edge project that revolutionizes healthcare communication by offering patients the ability to connect with their doctors at their convenience. With this api, patients can chat with their doctors through the platform, make appointments, and locate nearby hospitals all in one place.

License: GNU General Public License v3.0

Python 15.21% CSS 41.96% JavaScript 42.83%
api django django-rest-framework google-cloud

hospital-api's Introduction

Hi ๐Ÿ‘‹ I'm Abdulaziz

aabduvak

aabduvak

About:

My name is Abdulaziz, I'm middle software engineer who has a strong background in computer science. I'm eager to apply my knowledge and skills to real-world projects. I'm excited to work with languages such as C/C++, Python, Javascript, Java and C#. I like to tackle to new challenges and I would love to work with experienced engineers and gain deeper knowledge. I'm a quick learner and I don't give up easily. I am confident that my skills and passion will make me a valuable asset to any team.

Languages:

angular csharp python js java csharp ts

Tools:

linux git react django docker .NET Core

Github Stats:

aabduvak aabduvak

Social Accounts:

instagram linkedin linkedin

"Buy Me A Coffee"

hospital-api's People

Contributors

aabduvak avatar

Watchers

 avatar

hospital-api's Issues

Update methods not working!

While sending PUT or PATCH request, data in db is not changed. Also, password field is not encrypted if user sends PUT or PATCH request.

Example:

Data Before Request:

{
	"id": 1,
	"password": "pbkdf2_sha256$390000$VfuYgqjCfyOzCcBMeNSSOI$f0duaRLq4ixA6KMPuGQgvfJBDREvdU4HuudmZ2ouiPo=",
	"last_login": "2023-02-16T23:37:41.507302+03:00",
	"email": "[email protected]",
	"first_name": "Abdulaziz",
	"last_name": "Abduvakhobov",
	"identity_number": null,
	"gender": "M",
	"birth_date": "2023-02-15",
	"weight": null,
	"height": null,
	"address": "Istanbul",
	"category": 2
}

Client's Request:

curl -X PATCH https://..../api/v1/users/1
     -H 'Content-Type: application/json'
     -H 'Accept: application/json'
     -H 'Authorization: Token ${TOKEN}'
     -d '{"identity_number": 12345678, "weight": 70, "height": 172}' 

Data After Response

{
	"id": 1,
	"password": "pbkdf2_sha256$390000$VfuYgqjCfyOzCcBMeNSSOI$f0duaRLq4ixA6KMPuGQgvfJBDREvdU4HuudmZ2ouiPo=",
	"last_login": "2023-02-16T23:37:41.507302+03:00",
	"email": "[email protected]",
	"first_name": "Abdulaziz",
	"last_name": "Abduvakhobov",
	"identity_number": null, // must be changed
	"gender": "M",
	"birth_date": "2023-02-15",
	"weight": null, // must be changed
	"height": null, // must be changed
	"address": "Istanbul",
	"category": 2
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.