Skip to content

project made with blazor wasm connecting to a mysql database mounted on an image with docker, mudblazor was used for the Ui

Notifications You must be signed in to change notification settings

josuecaleb6482/Contacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contacts

Table of Contents

  1. General Info
  2. Technologies
  3. Installation

General Info


Api made whit Repository Pattern C#, for educational purposes

Screenshot

![image]

Technologies


Installation


dotnetcore ef CLI

$ dotnet tool install --global dotnet-ef
$ dotnet tool update --global dotnet-ef
$ dotnet add package Microsoft.EntityFrameworkCore.Design
$ dotnet add package MySql.EntityFrameworkCore

Query

CREATE TABLE `Contacts` (  
`Id` int (11) AUTO_INCREMENT,  
`FirstName` nvarchar (50) NOT NULL,  
`LastName` nvarchar (50) NOT NULL,
`Phone` nvarchar (50) DEFAULT NULL,
`Address` nvarchar (250) DEFAULT NULL,
PRIMARY KEY (`Id`)
);

SDK Ubuntu

$ git clone https://github.com/josuecaleb6482/
$ sudo apt-get update; \
$ sudo apt-get install -y apt-transport-https && \
$ sudo apt-get update && \
$ sudo apt-get install -y dotnet-sdk-5.0
$ nano .env

Run the app

$ docker-compose run -d
$ dotnet watch run

Project made with Blazor wasm connecting to a mysql database mounted on an image with docker, mudblazor was used for the Ui. This aplication is made in Ubuntu but u can run it in Windows or Mac, you can also uncouple the repository and data classes in another library classes proyects for better maintenance. Remember to write the .env file that had the environment variables. If you find an issue with this library feel free to open an issue here on GitHub🙂.

image image

About

project made with blazor wasm connecting to a mysql database mounted on an image with docker, mudblazor was used for the Ui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published