Skip to content

This is a multi project solution for exploring .NET Core 3.1 API, SQL Server, Angular 10, Angular Material and Marvel Comics REST API.

Notifications You must be signed in to change notification settings

rneto/MarvelUniverse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

About Marvel Universe

This is a multi project solution for exploring .NET Core 3.1 API, SQL Server, Angular 10, Angular Material and Marvel Comics REST API.

AuthApi

AuthApi is the authentication and user management API based on .NET Core 3.1 API, Entity Framework and SQL Server.

WebSpa

WebSpa is the user presentation layer based on Angular 10, Angular Material, Marvel Comics REST API and AuthApi.

Usage

Create SQL Server database

First you need to create the database for the AuthApi project.

CREATE DATABASE MarvelConsole

GO

USE MarvelConsole

GO

CREATE TABLE Users
  (
     [Id] [uniqueidentifier] DEFAULT NEWID(),
     [Name] [nvarchar](100) NOT NULL,
     [Surname] [nvarchar](100) NOT NULL,
     [Email] [nvarchar](100) NOT NULL UNIQUE,
     [Password] [nvarchar](100) NOT NULL,
     [CreationDate] [datetimeoffset](7) DEFAULT GETUTCDATE(),
     [DeleteDate] [datetimeoffset](7),
     PRIMARY KEY (Id)
  )

GO

Start AuthApi

  1. Open MarvelUniverse\src\AuthApi\AuthApi.sln.
  2. Open appsettings.json file and review ConnectionStrings > MarvelConsoleDatabase section with your created database info.
  3. Start.

Start WebSpa

  1. Open MarvelUniverse\src\WebSpa.
  2. Open src/environments files and review marvelApi > KEY section with your API key info.
    • IMPORTANT!! Be sure to add localhost to your authorized referrers in Marvel Commics API account.
  3. npm install
  4. npm start

About

This is a multi project solution for exploring .NET Core 3.1 API, SQL Server, Angular 10, Angular Material and Marvel Comics REST API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published