Learn by Example Building and Deploying Real-World Node.js Applications from Absolute Scratch
Key Features
- - An application where content creators can register and jot down and manage ideas for future videos
- - A much more sophisticated project. A social network for creating public and private stories.
Book Description
You will learn how to structure your Node/Express applications, create data models, relate data, display views, authenticate users, create helpers and much more. Project 1 - Vidjot An application where content creators can register and jot down and manage ideas for future videos.The first project is quite simple as it is meant to be an introduction where the author explains everything about Express routing, middleware, templates, Mongoose, and so on. We implement Passport and a local strategy where we store emails as usernames and encrypted passwords in our database. We will prepare and deploy this app to Heroku and add a domain name. Project 2 - Storybooks: A much more sophisticated project. A social network for creating public and private stories. This app uses a Google OAuth 2.0 strategy for authentication. Users can login and create stories which can be set to public or private. They can also choose if comments are allowed to be posted. We will create a dashboard for users to manage their stories. We will create helpers for authentication and access control as well as handlebars template helpers. We will prepare and deploy this app to Heroku and add a domain name.
What you will learn
- - Build high quality applications built with Node, Express and MongoDB
- - Implement authentication including local & Google OAuth strategies
- - Create data models with Mongoose ODM
- - Prepare & deploy apps to production with Heroku
- - Learn ES6 concepts like arrow functions, template strings & promises
Who this book is for
Anyone that wants to learn how to build and deploy apps built with Node, Express and MongoDB