GithubHelp home page GithubHelp logo

adnanrahic / building-a-serverless-rest-api-with-nodejs Goto Github PK

View Code? Open in Web Editor NEW
62.0 62.0 19.0 28 KB

A quick and easy guide of how to hook up a single Serverless service with basic MongoDB connection and CRUD interaction.

License: MIT License

JavaScript 100.00%
dotenv mongodb nodejs serverless serverless-framework serverless-offline

building-a-serverless-rest-api-with-nodejs's Introduction

Hi there ๐Ÿ‘‹

I'm Adnan, your friendly neighborhood ๐Ÿฅ‘ at @Kubeshop.io. ๐Ÿ˜„

I'm a failed startup founder. I've authored online courses. And, I'm an ex-freeCodeCamp local leader.

JavaScript is my main language. I've been creating full-stack JavaScript software for the last five years. In the last few years I started fiddling with DevOps, Serverless, and Bash scripts, but also Product Management and Product Growth.

  • ๐Ÿ”ญ Currently working on a few open-source Node.js projects
  • ๐ŸŒฑ Currently learning anything and everything about Node.js, DevOps, and Serverless
  • ๐Ÿ‘ฏ Looking to collaborate on anything cool and fun in the open-source Node.js world
  • โšก Fun fact: I can do magic ๐Ÿš€
  • ๐Ÿ’ฌ Ask me about anything ๐Ÿ˜„
  • ๐Ÿ“ซ DMs are open on Twitter

building-a-serverless-rest-api-with-nodejs's People

Contributors

adnanrahic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

building-a-serverless-rest-api-with-nodejs's Issues

Cannot overwrite `Note` model once compiled.

I just copy your code but configure with my local mongoDB to test such APIs, those RESTful API are only feasible once when I run "sls offline" to deploy them natively, then when I use postman to call the same method for twice, it failed and here is the Error:
'OverwriteModelError: Cannot overwrite Note model once compiled.'
Could you help me out? Thanks!!

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.