Free Ebook cover How to create APIs in NodeJS from basic to advanced

Free ebookHow to create APIs in NodeJS from basic to advanced

New course

149 pages

View the free course

Course content

1

1. Introduction to NodeJS

2

2. NodeJS installation and configuration

3

3. Basic concepts of NodeJS

4

3.1. NodeJS Basics: NodeJS Installation

5

3.2. NodeJS Basics: JavaScript Fundamentals

6

3.3. NodeJS Basics: NodeJS Basics

7

3.4. NodeJS Basics: Creating an HTTP Server

8

3.5. NodeJS Basics: Routes and Request Handling

9

3.6. Basic concepts of NodeJS: Middleware and its application

10

3.7. NodeJS Basics: Authentication and Authorization

11

3.8. NodeJS Basics: Data Validation

12

3.9. NodeJS Basics: Database Integration

13

3.10. NodeJS Basics: Error Handling

14

3.11. NodeJS Basics: Automated Testing

15

3.12. NodeJS Basics: API Documentation

16

3.13. NodeJS Basics: API Deployment

17

4. Understanding the Node Package Manager (NPM)

18

4.1. Understanding the Node Package Manager (NPM): Installing NodeJS and NPM

19

4.2. Understanding the Node Package Manager (NPM): Understanding NPM's role

20

4.3. Understanding Node Package Manager (NPM): Managing Packages with NPM

21

4.4. Understanding the Node Package Manager (NPM): Creating a package.json file

22

4.5. Understanding the Node Package Manager (NPM): Installing packages from NPM

23

4.6. Understanding Node Package Manager (NPM): Understanding dependencies and devDependencies

24

4.7. Understanding the Node Package Manager (NPM): Updating packages

25

4.8. Understanding the Node Package Manager (NPM): Removing packages

26

4.9. Understanding the Node Package Manager (NPM): Publishing a Package to NPM

27

4.10. Understanding the Node Package Manager (NPM): Using third-party packages

28

4.11. Understanding the Node Package Manager (NPM): Configuring scripts in package.json

29

4.12. Understanding the Node Package Manager (NPM): Understanding the package-lock.json file

30

4.13. Understanding the Node Package Manager (NPM): Resolving package version conflicts

31

5. Creating a basic server with NodeJS

32

5.1. Creating a basic server with NodeJS: Installing NodeJS

33

5.2. Creating a basic server with NodeJS: Setting up the development environment

34

5.3. Creating a basic server with NodeJS: Understanding the API concept

35

5.4. Creating a basic server with NodeJS: Creating a basic server with NodeJS

36

5.5. Creating a basic server with NodeJS: Defining routes and endpoints

37

5.6. Creating a basic server with NodeJS: Working with HTTP requests

38

5.7. Creating a basic server with NodeJS: Manipulating data and returning responses

39

5.8. Creating a basic server with NodeJS: Using libraries/frameworks to facilitate API development

40

5.9. Creating a basic server with NodeJS: Request validation and authentication

41

5.10. Creating a Basic Server with NodeJS: Storing Data in Databases

42

5.11. Creating a basic server with NodeJS: Handling errors and exceptions

43

5.12. Creating a Basic Server with NodeJS: Testing and Documenting the API

44

5.13. Building a Basic Server with NodeJS: API Deployment and Hosting

45

6. Introduction to ExpressJS

46

7. Working with routes in ExpressJS

47

7.1. Working with routes in ExpressJS: Creating basic routes

48

7.2. Working with routes in ExpressJS: Passing parameters in routes

49

7.3. Working with routes in ExpressJS: Working with dynamic routes

50

7.4. Working with routes in ExpressJS: Using middleware in routes

51

7.5. Working with Routes in ExpressJS: Working with Authentication Routes

52

7.6. Working with routes in ExpressJS: Creating routes for CRUD

53

7.7. Working with routes in ExpressJS: Organizing routes in separate files

54

7.8. Working with routes in ExpressJS: Using HTTP verbs in routes (GET, POST, PUT, DELETE)

55

7.9. Working with routes in ExpressJS: Working with query parameters in routes

56

7.10. Working with routes in ExpressJS: Validating data in routes

57

7.11. Working with Routes in ExpressJS: Working with File Uploads in Routes

58

7.12. Working with Routes in ExpressJS: Working with JWT Authentication on Routes

59

7.13. Working with Routes in ExpressJS: Working with Route Authorization

60

7.14. Working with routes in ExpressJS: Implementing paging in routes

61

7.15. Working with Routes in ExpressJS: Working with Cached Routes

62

7.16. Working with Routes in ExpressJS: Testing Routes with Jest or Mocha

63

8. Introduction to API's

64

9. What are REST API's

65

10. Creating a basic REST API with NodeJS and ExpressJS

66

10.1. Creating a Basic REST API with NodeJS and ExpressJS: NodeJS Installation

67

10.2. Creating a Basic REST API with NodeJS and ExpressJS: ExpressJS Installation

68

10.3. Building a Basic REST API with NodeJS and ExpressJS: Initial Project Setup

69

10.4. Creating a Basic REST API with NodeJS and ExpressJS: Defining Routes

70

10.5. Creating a Basic REST API with NodeJS and ExpressJS: Creating the Controllers

71

10.6. Creating a Basic REST API with NodeJS and ExpressJS: Implementing the HTTP Methods

72

10.7. Building a Basic REST API with NodeJS and ExpressJS: Data Validation

73

10.8. Building a Basic REST API with NodeJS and ExpressJS: Error Handling

74

10.9. Building a Basic REST API with NodeJS and ExpressJS: Authentication and Authorization

75

10.10. Building a Basic REST API with NodeJS and ExpressJS: In-DB Data Manipulation

76

10.11. Building a Basic REST API with NodeJS and ExpressJS: API Documentation

77

10.12. Building a Basic REST API with NodeJS and ExpressJS: Automated Tests

78

10.13. Building a Basic REST API with NodeJS and ExpressJS: API Deployment

79

11. Working with JSON in NodeJS

80

12. Working with CORS in NodeJS

81

13. Error handling in NodeJS

82

14. Introduction to MongoDB

83

15. Integrating NodeJS with MongoDB

84

16. Creating a CRUD with NodeJS and MongoDB

85

16.1. Creating a CRUD with NodeJS and MongoDB: NodeJS Installation

86

16.2. Creating a CRUD with NodeJS and MongoDB: MongoDB Installation

87

16.3. Creating a CRUD with NodeJS and MongoDB: Development Environment Setup

88

16.4. Creating a CRUD with NodeJS and MongoDB: Creating the NodeJS Project

89

16.5. Creating a CRUD with NodeJS and MongoDB: Connecting to the MongoDB database

90

16.6. Creating a CRUD with NodeJS and MongoDB: Creating routes for the CRUD

91

16.7. Creating a CRUD with NodeJS and MongoDB: Creating controllers for each CRUD operation

92

16.8. Creating a CRUD with NodeJS and MongoDB: Implementing functions to create, read, update and delete data

93

16.9. Creating a CRUD with NodeJS and MongoDB: Validation of received data

94

16.10. Creating a CRUD with NodeJS and MongoDB: Error Handling

95

16.11. Creating a CRUD with NodeJS and MongoDB: Unit Tests

96

16.12. Creating a CRUD with NodeJS and MongoDB: API Documentation

97

16.13. Creating a CRUD with NodeJS and MongoDB: Application Deployment

98

17. Authentication and authorization in NodeJS API's

99

17.1. Authentication and authorization in NodeJS APIs: Authentication with JWT

100

17.2. Authentication and authorization in NodeJS APIs: Authorization with roles and permissions

And much more...

Download the App now to have access to + 2200 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online video courses, audio or text courses.

  • More than 48 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Get it on Google Play Get it on App Store
Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate

Discover the Power of NodeJS with Free Online Courses

Embark on a journey to mastering NodeJS, the popular JavaScript runtime environment, with our comprehensive listing of free online courses. Whether you're a beginner eager to delve into the world of backend development or an experienced programmer looking to refine your NodeJS skills, our selection of courses is designed to cater to all levels of expertise.

Beginner-Friendly NodeJS Courses

Starting with the basics, our beginner-friendly NodeJS courses will introduce you to the fundamentals of NodeJS, including its asynchronous, event-driven architecture. You'll learn how to set up your development environment, manage packages with npm, and write simple, efficient code to build your first NodeJS application.

Intermediate NodeJS Tutorials

For those with a grasp of the basics, our intermediate tutorials offer a deeper dive into the NodeJS ecosystem. Explore topics such as Express.js for web application frameworks, building RESTful APIs, and connecting to databases like MongoDB. Enhance your understanding of middleware, authentication, and real-time communication with Socket.io.

Express.js Mastery

Express.js is a vital part of web development with NodeJS. Our courses on Express.js will teach you how to streamline the development of web applications and APIs. You'll gain insights into routing, template engines, and best practices for structuring your projects.

RESTful API Development

Learn how to build scalable RESTful APIs using NodeJS. These courses will guide you through the process of creating endpoints, handling requests and responses, and ensuring your API's security and performance.

Database Integration

Integrating databases is crucial for dynamic applications. Our NodeJS courses cover the use of both SQL and NoSQL databases, teaching you how to design schemas, perform CRUD operations, and optimize your database interactions for high-performance applications.

Advanced NodeJS Concepts

For seasoned developers, our advanced NodeJS courses delve into complex topics such as microservices architecture, deployment strategies, and performance tuning. Learn how to scale your NodeJS applications, implement advanced security protocols, and use testing frameworks to ensure your code is robust and reliable.

Microservices with NodeJS

Discover the microservices architectural style and learn how to break down your application into smaller, interconnected services. Our courses cover service discovery, communication patterns, and how to deploy and manage microservices efficiently.

NodeJS Deployment and Performance

Deploying and maintaining a NodeJS application requires specific knowledge. These courses will show you how to deploy your NodeJS apps on platforms like Heroku and AWS, as well as how to monitor and improve their performance over time.

Testing and Security Best Practices

Security and testing are critical for any application. Our NodeJS courses will teach you how to implement security measures such as OAuth and JWT, and how to write tests using frameworks like Mocha and Chai to keep your application safe and error-free.

Project-Based Learning

Hands-on learning is one of the most effective ways to solidify your NodeJS skills. Our free online courses often include real-world projects that will challenge you to apply what you've learned in practical scenarios, from creating a simple web server to developing a complete e-commerce platform.

Join Our Community of Learners

By joining our platform, you gain access to a vibrant community of learners and developers. Share your progress, ask questions, and collaborate on projects as you work your way through the free NodeJS courses. Start learning today and become part of a global network of NodeJS experts!

+ 6.5 million
students

Free and Valid
Certificate with QR Code

48 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video, audio and text