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
- Host: GitHub
- URL: https://github.com/luispagarcia/serverless-aws-mongodb-crud
- Owner: LuisPaGarcia
- License: mit
- Created: 2017-11-17T21:59:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-07T23:10:13.000Z (over 7 years ago)
- Last Synced: 2025-08-28T10:51:19.129Z (10 months ago)
- Topics: angularjs, aws-lambda, mongodb, mongoose, serverless, serverless-framework
- Language: JavaScript
- Size: 11.7 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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