Build simple Django-Rest-Framework GET & POST

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

MODELS

----------

I have models for website, font, and industry..

Here are simplified models:

class Website([login to view URL]):

domain = [login to view URL](max_length=255)

industry = [login to view URL](Industry, null=True, blank=True, default=None)

fonts = [login to view URL](Font, blank=True, related_name="websites")

class Font([login to view URL]):

font = [login to view URL](max_length=150, null=True, blank=True, unique=True)

class Industry([login to view URL]):

industry = [login to view URL](max_length=255, null=True, blank=True)

So as you can see:

* websites can have multiple fonts, and fonts can have multiple websites.

* websites can have one industry.

TASKS

-------

1) I would like to be able to access fonts via a django-rest-framework API request.

Please implement an API call for the following:

select 25 fonts from the database where industry is tech

(the industry can be gotten from the font <--> website --> industry relationships)

The person who makes the API request should receive JSON.

2) I would like to be able to save a font to the Website model via a django-rest-framework API request.

So if you could imagine someone makes the request "/api/website/font/post" (or something like that), the following record (SQL pseudocode) would be inserted:

insert the font into the database if it doesn't exist and then create a relationship between the font and website

Note: If possible, please don't put the website key and font key in the API URL, but rather attach them as a payload. In other words, I would prefer not to have URLs like this: "/api/27/8/post".

Any questions, just ask

Django Python

Project ID: #11969594

About the project

19 proposals Remote project Active 7 years ago

Awarded to:

ajaiswaliitk

Hi, I am expert DJango developer with 5+ years of experience. I can finish your project within one day. The bid cost include development of 2 APIs as mentioned on existing project. Thanks, Amit

$50 USD in 1 day
(44 Reviews)
5.6

19 freelancers are bidding on average $174 for this job

Shattenjagger

Hello! The project is quite simple, so please anyway contact me that will to discuss it. And let's do the business!

$160 USD in 5 days
(44 Reviews)
6.7
SuiGenSolutions

Hello Sir, I have extensive experience in Django based framework. I have gone through your requirements and can do this task quickly. Looking forward to hear from you. Thanks Shiv Agrawal

$74 USD in 1 day
(49 Reviews)
6.1
guptaabhinav

Expert Python Django developer, I will implement the API you require. The API will have a clean interface also to see the POST and GET request. I'll be available 24/7, message me to discuss this. Thanks

$200 USD in 3 days
(30 Reviews)
5.3
gigsleo

Hi, I read the project requirements and can do the needed tasks. Looking forward to have more discussion in detail. Regards, Akash

$111 USD in 4 days
(12 Reviews)
4.9
cramshaw

Hi, This sounds like a relatively straightforward project, especially as you already have the models in place. I've built a number of API's using the DRF for django apps. So the first, GET endpoint, will return J More

$222 USD in 3 days
(8 Reviews)
5.0
cracken

Hi, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements More

$249 USD in 7 days
(19 Reviews)
4.8
sbijum88

Hi there, I have four years of experience with django framework, please consider for this job. Thanks and Regards, Bijumon

$250 USD in 7 days
(13 Reviews)
4.5
arunvj278

Hi, I have 2+ years of experience in python and django. I done some serious projects including api for a content sharing platform . if you give me this chance i will not fail you. Thank you

$155 USD in 3 days
(2 Reviews)
0.7
tatarinovalex

Hello, sir. I want to complete your project. Your needs are clear and understandable to me. I think i am the right person for this job, because i have strong experience in Django overall and Django REST in particular. More

$100 USD in 3 days
(0 Reviews)
0.0
shahiddar

Hello, am shahid from kashmir. Over the last 7 years, I have worked for several clients. Joined Freelancer with over 7 years of experience in , Data entry, Linkedin Lead generation , Google Research Expert,Web scra More

$30 USD in 3 days
(0 Reviews)
0.0
menangen

A proposal has not yet been provided

$444 USD in 10 days
(0 Reviews)
0.0