Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sajanv88/dotnet8todoappboilerplate
Blazor dotnet 8 boilerplate todo application integrated with tailwind flowbite.
https://github.com/sajanv88/dotnet8todoappboilerplate
blazor dotnet-8 flowbite-blazor tailwind tailwind-blazor
Last synced: about 1 month ago
JSON representation
Blazor dotnet 8 boilerplate todo application integrated with tailwind flowbite.
- Host: GitHub
- URL: https://github.com/sajanv88/dotnet8todoappboilerplate
- Owner: sajanv88
- Created: 2023-11-05T05:23:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T09:35:45.000Z (over 1 year ago)
- Last Synced: 2024-12-29T22:45:28.946Z (about 1 month ago)
- Topics: blazor, dotnet-8, flowbite-blazor, tailwind, tailwind-blazor
- Language: CSS
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Blazor Dotnet 8 Fullstack boilerplate
A simple fullstack todo application boilerplate code. Styles are intergrated with tailwind and flowbite plugin.
## Recommended
- Dotnet 8 & Node js for tailwind support (Optional).
- Postgres database instance running in your local or in the cloud.## Steps
- Clone this repo
- Install all the required dependencies
- Update database connection string in the `appsettings.json` based on your preference.
- Run migrations `dotnet ef migrations Add InitialCreate`
- Run database update `dotnet ef database update`
- Generate tailwind `npx tailwindcss -i wwwroot/entrypoint.css -o wwwroot/app.css`
- Finally `dotnet watch run`## Docker
- Build the docker image `docker build -t dotnet8 .`
- Run ```docker run --name todoapp -p 80:8080 --env ConnectionStrings:DefaultConnection="Server=tyke.db.elephantsql.com;User Id=exadrrcg;Database=exadrrcg;Password=mAO7ezDVYYjfxQ1SoJfFM3Yzx-qBD8p5;" --env ASPNETCORE_ENVIRONMENT=Production dotnet8```
- The above database connection i am pointing to [elephantsql.com](https://elephantsql.com) it is free version of postgresql cloud. Create one and update the docker env connection strings.