We will build a full-stack web application that is a basic User Management Application with CRUD features:
• Create User
• List User
• Update User
• Delete User
• View User
CREATE DATABASE testdb;
CREATE TABLE IF NOT EXISTS public.users
(
id serial primary key,
email VARCHAR(40) not null,
first_name VARCHAR(40) not null,
last_name VARCHAR(40) not null
);
You can start the api by running dotnet run
from the command line in the project root folder (where the WebApi.csproj file is located)
OR
You can also start the application in debug mode in Visual Studio by opening the project root folder in Visual Studio and pressing F5 or by selecting Debug -> Start Debugging from the top menu, running in debug mode.
npm install
npm run serve -- --port 8081