

Create Your Express.js Appīefore we begin, make sure you have a recent version of Node.js installed. Sequelize.js will handle the blog post storage and database management. The blog will be built using Express.js, the user interface will be built using Pug, and the authentication component will be handled by Okta. The blog you build will have a homepage that lists the most recent posts, a login page where users can authenticate, a dashboard page where users can create and edit posts, and logout functionality. Through this tutorial, you’ll be building a simple blog. Whether you’re trying to build a website or an API, Express.js provides tons of features and an excellent developer experience. Furthermore, thousands of developer libraries work with Express, making developing with it fun and flexible. About Express.jsĮxpress.js is the most popular web framework in the Node.js ecosystem. If you’d like to skip the tutorial and just check out the fully built project, you can go view it on GitHub.


Along the way, you’ll learn about Express.js, the most popular web framework, user authentication with OpenID Connect, locking down routes to enforce login restrictions, and performing CRUD operations with a database (creating, reading, updating, and deleting data). This tutorial will take you step-by-step through building a fully-functional Node.js website. I’ve been working with Node.js since 2012 and have been excited to see the community and tooling grow and evolve - there’s no better time to get started with Node.js development than right now. Many of the largest companies are building more and more of their websites and API services with Node.js, and there’s no sign of a slowdown.
