Create a REST API With Node JS and Mongo DB
- Basic understanding of JavasScript - you should be comfortable with variables, loops, arrays, promises etc.
A solid REST API is the foundation of virtually every modern web application, service and data-driven company or startup. From large multi-national corporation to small garage startup, the core tenets of a well-designed REST API are the same and can be learned in relatively short period of time. In this tutorial series, we construct a simple REST API using Node/Express, Mongo DB and deployed on Turbo 360. Along the way, we explore the key principles behind REST API design as well as common mistakes and scenarios that beginners often struggle with. Finally, we deploy our web service on the free Turbo 360 staging environment in conjunction with mLab for database hosting.
- Beginner JS developers who aim to become full stack developers.
- Project Setup
- API Route
- Mongo DB Connection
- GET Requests
- POST Requests
- PUT Requests
- DELETE Requests
I am a full stack freelance developer based in NYC. Since 2012, I have worked with early stage startups mostly building MVPs and specific features for existing apps. I started out with iOS (Obj-C and Swift) then moved on to Node/Express, Angular and finally React/Redux. I am also well versed in the dev-ops side as it relates to AWS. My standard stack consists of EC2 instances running Ubuntu 16.0.4 and a Node server. When I am not programming I'm either updating my fantasy team or pondering the meaning life.