Creating standalone API that can be used by multiple webapps concurrently