A demo API for creating, retrieving, updating and deleting customer, product and order entities.
Clone the project
git clone https://github.com/ysfada/CRUD-API.git
*Don't forget to set DefaultConnection in appsettings.json
cd ./CRUD-API/src/Infrastructure
dotnet ef --startup-project ../Api database update
cd ./CRUD-API/src
dotnet run --project Api
API runs at http://localhost:5000/swagger
cd ./CRUD-API/src/Frontend
npm install
npm run serve
Frontend runs at http://localhost:8080
GET /api/customer
POST /api/customer
GET /api/customer/${id}
PUT /api/customer/${id}
DELETE /api/customer/${id}
GET /api/product
POST /api/product
GET /api/product/${id}
PUT /api/product/${id}
DELETE /api/product/${id}
GET /api/order
POST /api/order
GET /api/order/${id}
PUT /api/order/${id}
DELETE /api/order/${id}