hello

in #knacksteem6 years ago

Disclaimer

Before understanding this tutorial, you must have a little knowledge of SASS and Bootstrap 4

In our last tutorial we were a able to understand parent to child component interaction, how to create and inject a service and also sending request to an API
In this series, we are going to work with forms and user input, and build the component responsible for signup a user into the database.

Project structure.

  • node_modules/
  • src/
    • app
      • app-navbar/
      • item/
      • items-feed/
      • signup/
      • app-routing.module
      • app.component.html
      • app.component.sass
      • app.component.ts
      • app.module.ts
      • item.service
    • asset/
    • environments/
    • item.ts
    • user.ts
  • .angular-cli.json
  • .editorconfig
    +.....

Rating

This tutorial is rated Intermediate.

Requirement.

What would i learn? / Table of content.

  1. Recap of the previous tutorial.
  2. Creating the Signup Component.
  3. Creating the markup and styles for the Signup component.
  4. Building the signup method.
  5. Two way data binding.
  6. Showing error flash messages

Recap of the previous tutorial.

We were able to create the item-feed and the item component and send request to the Voltron server to get all items, the items were iterated and displayed on the item-feed using a directive *ngFor and binding the data to the item component, we also created an item service responsible for using the HTTP module for requesting data from the voltron API.

data.jpg