https://github.com/przeprogramowani/starter-dotnet-react
https://github.com/przeprogramowani/starter-dotnet-react
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/przeprogramowani/starter-dotnet-react
- Owner: przeprogramowani
- Created: 2025-03-04T17:10:10.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-11T13:02:38.000Z (over 1 year ago)
- Last Synced: 2025-03-11T14:21:29.910Z (over 1 year ago)
- Language: C#
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlashCards (.NET + React)
## Pre-requisites
- [.NET 9.0 SDK](https://dotnet.microsoft.com/en-us/download)
- Node.js 20+
- (Optionally) VS Code [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit)
- (Optionally) SQLite Viewer [Extension](https://marketplace.visualstudio.com/items?itemName=qwtel.sqlite-viewer)
### Dev Addons
```bash
brew install sqlite3 # or platform-specific alternative
dotnet tool install --global dotnet-ef
```
## Getting Started
1. Clone the repository
2. In FlashcardsUI run `npm install && npm run build`
3. In FlashcardsAPI run `dotnet restore && dotnet build`
## Local Development
You can use built-in launch config for VS Code or run the following commands in two separate terminals:
1. In FlashcardsAPI run `dotnet watch run` (localhost:3001)
2. In FlashcardsUI run `npm start` (localhost:3000)
## API in Test Mode
```bash
dotnet run -e ASPNETCORE_ENVIRONMENT=Test
```
## E2E with Playwright
```bash
cd FlashcardsUI
npx playwright install chromium
npx playwright test
```