An open API service indexing awesome lists of open source software.

https://github.com/luispagarcia/serverless-aws-mongodb-crud

Serverless REST API with MongoDB using AWS, MLAB, Mongoose, Bluebird and Angularjs to test it
https://github.com/luispagarcia/serverless-aws-mongodb-crud

angularjs aws-lambda mongodb mongoose serverless serverless-framework

Last synced: 3 months ago
JSON representation

Serverless REST API with MongoDB using AWS, MLAB, Mongoose, Bluebird and Angularjs to test it

Awesome Lists containing this project

README

          

# Serverless REST API with MongoDB using AWS, MLAB, Mongoose, Bluebird and Angularjs to test it

This example demonstrate how to use a MongoDB database with aws and serverless, can be tested with anglarjs.

Using Mongoose ODM and Bluebird for Promises.

## Use Cases

- NoSQL CRUD API

## Setup

Setup your aws credentials: [See the video here](https://www.youtube.com/watch?v=tgb_MRVylWw)

Add your MongoDB url in .env file (You can get a free one on mlab.com)

```
$ npm install
$ serverless config credentials --provider aws --key YOUR_KEY --secret YOUR_SECRET
$ serverless deploy
```

Replace

## Usage

open index.html in your browser and see the basic crud operations