Find online courses made by experts from around the world.
Take your courses with you and learn anywhere, anytime.
Learn and practice real-world skills and achieve your goals.
This course is designed to help you get off the ground building a REST API in NodeJS that you can use for your web or mobile application. This course will provide you with the tools and understanding of how to go about building an API server, accessing and manipulating data via this API. The database will be a MongoDB instance and you will be utilizing NodeJS to commnicate with that database and the client using the ExpressJS framework. This API will be able to serve data to web clients as well as mobile applications.
If you want to learn how to leverage the power of NodeJS and build a powerful API for your application you should take this course. The material will be covered in a manner that flows with how you would create an application in the wild so you can train your thought process to build your next great app.
Not for you? No problem.
30 day money back guarantee.
Learn on the go.
Desktop, iOS and Android.
Certificate of completion.
|Section 1: Getting Started|
This lecture you will learn what to expect, what tools we'll be using to build our node.js API and how to move on from here.
|Section 2: Creating a MongoDB Database|
Connecting to MongoLabPreview
Creating A mongodb database locallyPreview
|Section 3: Building the API|
Creating a test routePreview
In this lecture you will include the dependencies to parse the body of a POST request and hash a password. You will then create a new database configuration file.
In this lecture you will connect to your MongoDB instance using your database configuration file that you just created. You will then create a users route that will include the expressjs router. In the next lecture you will continue to build upon this route.
In this lecture you will create a userschema and model using mongoose. This is what will communicate with MongoDB and allow you to efficiently create and find users.
Making a Users POST Route to create users
Testing your users route
Adding Response Headers to the API
Adding sessionTokens to authenticated user requests
Add a login route and sessions
Add a workout definition model and schema
Add routes for CRUD operations on workout definition
Testing your existing routes
Create a Log Model and Schema
Create Logs Route