Blog

Viewing posts tagged restful api

Django Migrations to the Rescue

Django Migrations to the Rescue

I have been programming professionally for 19 years now and it was always a pain to maintain the changes you do in your database prepared to be replicated in all the installations your application needed. Remember it was desktop software before so we needed to create programs that check the version of the database they were using and somehow upgrade the database to the new fields, tables, triggers, views, stored procedures, user defined functions etc, so the new software will be able to run without errors.

Swagger: How to create an easy Restful API for a simple model in Django(Part IV)

How to create an easy Restful API for a simple model in Django(Part IV)

If you have been following the previous 3 posts you have now your API 'running'(not deployed yet in production) but you may need to allow your customers to understand your API. In other words, you documentation for your API. Today the winning in that space is Swagger and it can be used not only for Python and Django but almost for every web framework available today. It is Open Source so you can even contribute to the project if your language or framework is not yet supported.

How to create an easy Restful API for a simple model(Part II)

How to create an easy Restful API for a simple model(Part II)

In the previous post (http://www.restapibuilder.com/blog/how-to-create-an-easy-restful-api-for-a-simple-model/) I explained a little bit how to create a basic API for a City model. I used our home page in order to create the serializer, modelviewset and url needed to our first move.

How to create an easy Restful API for a simple model

How to create an easy Restful API for a simple model

In this first blog I would like to show how you can create a simple project with a restful api for a single model. The tools will be django and django rest framework.