Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
COURSE CONTENT
BACK-END SIDE - NODE.JS, EXPRESS.JS, MONGO.DB CONSUMING A REST API: USING AN API FROM INSIDE
EXPRESS.JS
INTRODUCING FULL-STACK DEVELOPMENT How to call an API from Express • Using lists of data
Why learn the full stack? • Introducing Node.js: The web from an API: The Loc8r homepage • Getting single
server • Introducing Express.js: The framework • documents from an API: The Loc8r Details page •
Introducing MongoDB: The database • Introducing Adding data to the database via the API: Add Loc8r
Angular.js: The front-end framework • Supporting cast reviews • Protecting data integrity with data validation
DESIGNING A JAVASCRIPT’S STACK ARCHITECTURE
A common JavaScript stack architecture • Looking beyond FRONT-END DEVELOPMENT - ANGULAR.JS
SPAs • Designing a flexible JavaScript stack architecture •
ADDING ANGULAR.JS COMPONENTS TO AN
Planning a real application • Breaking the development into EXPRESS.JS APPLICATION
stages • Hardware architecture Getting Angular.js up and running • Displaying and
CREATING AND SETTING UP A WEB PROJECT filtering the homepage list • Getting data from an API
A brief look at Express.js, Node.js, and NPM • Creating an BUILDING A SINGLE-PAGE APPLICATION WITH
Express.js project • Modifying Express for MVC • Import ANGULAR.JS : FOUNDATIONS
Bootstrap for quick, responsive layouts Setting the groundwork for an Angular SPA • Switching
BUILDING A STATIC SITE WITH NODE.JS EXPRESS.JS from Express routing to Angular routing • Adding the
Defining the routes in Express.js • Building basic controllers first views, controllers, and services • Improving browser
• Creating some views • Adding the rest of the views performance
BUILDING DATA MODEL WITH MONGODB & MONGOOSE BUILDING AN SPA WITH ANGULAR: THE NEXT LEVEL
Connecting the Express.js apps to MongoDB using A full SPA: Removing reliance on the server-side
Mongoose • Why model the data? • Defining simple application • Adding additional pages and dynamically
Mongoose schemas • Using the MongoDB shell to create injecting HTML • More complex views and routing
MongoDB database & add data • Getting our database live parameters • Using Angular UI components to create a
modal popup
WRITING A REST API: EXPOSING THE MONGODB
DATABASE TO THE APPLICATION AUTHENTICATING USERS, MANAGING SESSIONS, AND
The rules of a REST API • Setting up the API in Express.js • SECURING APIS
GET methods: Reading data from MongoDB • POST How to approach authentication in the full stack •
methods: Adding data to MongoDB • PUT methods: Creating a user schema for MongoDB • Creating an
Updating data in MongoDB • DELETE method: Deleting authentication API with Passport • Securing relevant API
data from MongoDB endpoints • Creating Angular authentication service •
Creating register and login pages • Working with
authentication in the Angular app