Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knowledgefactory4u/dotnet-postgresql-reactjs-crud-app
.Net + PostgreSQL + React JS CRUD Application Example
https://github.com/knowledgefactory4u/dotnet-postgresql-reactjs-crud-app
crud dotnet dotnet6 postgresql reactjs
Last synced: 27 days ago
JSON representation
.Net + PostgreSQL + React JS CRUD Application Example
- Host: GitHub
- URL: https://github.com/knowledgefactory4u/dotnet-postgresql-reactjs-crud-app
- Owner: knowledgefactory4u
- Created: 2023-02-16T20:32:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T20:40:41.000Z (almost 2 years ago)
- Last Synced: 2024-11-14T20:33:17.630Z (3 months ago)
- Topics: crud, dotnet, dotnet6, postgresql, reactjs
- Language: JavaScript
- Homepage: https://www.knowledgefactory.net/2023/02/net-postgresql-react-js-crud-application-example.html
- Size: 116 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .Net + PostgreSQL + React JS CRUD Application Example
# After completing this tutorial what we will build?
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
# Local Setup and Run the application
Create database and table
```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
);```
Download or clone the source code from GitHub to the local machine
Backend
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.
Frontend
```npm install```
```npm start```
From the browser call the endpoint http://localhost:3000.