I\'m going to build an API for a web app and I\'m interested in what people can suggest as good practices.
I\'m already planning to make it versioned (version 1 can only
Use REST.
Read up on standards for APIs, or copy the ideas from one of the popular ones.
Be careful when authenticating users.
Start very very simple.
Build a site that uses your API (even if it's not useful) to check things work. Perhaps you could build a mobile version of the site or something that forces you to use the API in a lot of depth.