CityGuide ASP.netCoreWebApi
1.0.0
Esta es una API de cityGuide escrita con Asp.net Core. Esta aplicación tiene una sexta interfaz angular #Disfruta de la codificación
Utilice Angular 7.0.3 en lugar de la versión 7.0.4 más reciente en este momento.
Drop table dbo . Users ;
Drop table dbo . Photos ;
Drop table dbo . Cities ;
CREATE TABLE [dbo].[Users] (
[Id] INT IDENTITY ( 1 , 1 ) NOT NULL ,
[PasswordHash] VARBINARY (MAX) NULL ,
[PasswordSalt] VARBINARY (MAX) NULL ,
[Username] NVARCHAR (MAX) NULL
);
CREATE TABLE [dbo].[Cities] (
[Id] INT IDENTITY ( 1 , 1 ) NOT NULL ,
[Description] NVARCHAR (MAX) NULL ,
[Name] NVARCHAR (MAX) NULL ,
[UserId] INT NOT NULL
);
CREATE TABLE [dbo].[ Values ] (
[Id] INT IDENTITY ( 1 , 1 ) NOT NULL ,
[Name] NVARCHAR ( 50 ) NULL
);
CREATE TABLE [dbo].[Photos] (
[Id] INT IDENTITY ( 1 , 1 ) NOT NULL ,
[CityId] INT NOT NULL ,
[DateAdded] DATETIME2 ( 7 ) NOT NULL ,
[Description] NVARCHAR (MAX) NULL ,
[IsMain] BIT NOT NULL ,
[Url] NVARCHAR (MAX) NULL ,
[PublicId] NVARCHAR ( 250 ) NULL
);