Skip to content

dennyio/CRUD-with-Angular2-and-.net-CORE

Repository files navigation

CRUD-with-Angular2-and-.net-CORE

This is a basic CRUD example with Angular2, SQL Server BD and Web API.

It has a basic Google Firebase authentication method and a CRUD BD operations.

You must have a Firebase project created and set the following variable values in <app.module.ts> file:

export const firebaseConfig = {
    apiKey: '',
    authDomain: '',
    databaseURL: '',
    storageBucket: '',
    messagingSenderId: ''
};

You must create the "product" table in a SQL DB and set the connection string.

Script:

CREATE TABLE [dbo].[Product]( [id] [int] IDENTITY(1,1) NOT NULL, [_name] varchar NULL, [_description] varchar NULL, PRIMARY KEY CLUSTERED ( [id] ASC))

Screenshots:

capture2

capture1