Git Product home page Git Product logo

claudia-api-builder's Introduction

Claudia API Builder

npm npm npm Build Status Join the chat at https://gitter.im/claudiajs/claudia

Claudia API Builder makes it possible to use AWS API Gateway as if it were a lightweight JavaScript web server, so it helps developers get started easily and reduces the learning curve required to launch web APIs in AWS. Check out this video to see how to create and deploy an API in under 5 minutes.

Claudia.js Introduction Video

The API Builder helps you by:

  • setting up AWS API Gateway Web interfaces for Lambda projects easily, the way JavaScript developers expect out of the box
  • routing multiple AWS API Gateway end-points to a single Lambda function, so that you can develop and deploy an entire API simpler and avoid inconsistencies.
  • handling synchronous responses or asynchronous promises, so you can develop easier
  • configuring response content types and HTTP codes easily
  • enabling you to set-up post-install configuration steps, so that you can set up the deployments easier

The API builder is designed to work with Claudia, and add minimal overhead to client projects.

Simple example

var ApiBuilder = require('claudia-api-builder'),
	api = new ApiBuilder(),
	superb = require('superb');

module.exports = api;

api.get('/greet', function (request) {
	return request.queryString.name + ' is ' + superb.random();
});

For a more examples, see the Web API Example Projects

Getting started

  • Check out the Getting Started guide for a basic Hello-World style example
  • Check out the API Documentation for a detailed guide on handling requests, customising responses and configuring your API

Questions, suggestions?

Join the chat at https://gitter.im/claudiajs/claudia

License

MIT

claudia-api-builder's People

Contributors

aaronjameslang avatar andorbal avatar bryant1410 avatar gojko avatar jcn avatar mikefrey avatar phips28 avatar pmarkert avatar stojanovic avatar vinagrito avatar

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.