Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugocruzlfc/fullstack-crud-react-.net8
Fullstack aplication with React (frontend) and .Net 8 for the API.
https://github.com/hugocruzlfc/fullstack-crud-react-.net8
chakra-ui crud-application dotnet react typescript
Last synced: about 12 hours ago
JSON representation
Fullstack aplication with React (frontend) and .Net 8 for the API.
- Host: GitHub
- URL: https://github.com/hugocruzlfc/fullstack-crud-react-.net8
- Owner: hugocruzlfc
- Created: 2024-02-09T11:42:07.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-12T10:45:04.000Z (11 months ago)
- Last Synced: 2024-02-13T10:50:10.269Z (11 months ago)
- Topics: chakra-ui, crud-application, dotnet, react, typescript
- Language: TypeScript
- Homepage:
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create API:
```bash
dotnet new webapi --use-controllers -o API
```## Adding Nuget packages:
```bash
dotnet add package Microsoft.EntityFrameworkCore.Sqlite
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet add package Microsoft.EntityFrameworkCore.SqlServer // in this moment not supported in MAC
dotnet Microsoft.EntityFrameworkCore.Sqlite
dotnet add package Microsoft.EntityFrameworkCore.Tools
```## Crate Initial migration:
```bash
dotnet ef migrations add Initial
```## Update database:
```bash
dotnet ef database update
```## Api run:
### Dev mode:
```bash
dotnet watch run
```# Create Client:
```bash
npm create vite@latest client --template react-ts
```## Adding packages:
```bash
npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion
```