a lightweight web application template
2.7K
BlazorPocket is a lightweight web application template that leverages the latest .NET 8.0 Blazor Web App with InteractiveAuto render mode and PocketBase for backend data storage. This project aims to streamline the development process, minimize repetitive coding, and provide a quick start for building efficient web applications.
version: '3.8'
services:
blazorpocketapp:
image: blazordevlab/blazorpocketapp:0.0.6-pre.73720a4
environment:
- UseInMemoryDatabase=false
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:80;https://+:443
- ASPNETCORE_HTTP_PORTS=80
- ASPNETCORE_HTTPS_PORTS=443
- AppSetting__AppName='${AppName}'
- AppSetting__Version='${Version}'
- AppSetting__ProcketbaseUrl='${ProcketbaseUrl}'
ports:
- "8023:80"
- "8024:443"
pocketbase:
image: blazordevlab/blazorpocketbase:0.0.5
ports:
- "8025:8080"
volumes:
- pocketbase_data:/pb/pb_data
volumes:
pocketbase_data:
Clone the repository:
git clone https://github.com/neozhu/BlazorPocket.git
cd BlazorPocket
Add PocketBaseClient subtree:
git subtree add --prefix pbcodegen https://github.com/iluvadev/PocketBaseClient.git main --squash
Add PocketBase C# SDK subtree:
git subtree add --prefix sdk https://github.com/iluvadev/pocketbase-csharp-sdk.git master --squash
Setup PocketBase:
[email protected]
admin12345!
[email protected]
demo12345!
Configure the Blazor App:
Restore .NET dependencies:
dotnet restore
Build and run the Blazor App:
dotnet run
https://localhost:5001.Contributions are welcome! Please feel free to submit issues, fork the repository, and send pull requests.
git checkout -b feature/your-feature).git commit -m 'Add your feature').git push origin feature/your-feature).This project is licensed under the MIT License. See the LICENSE file for details.
Content type
Image
Digest
sha256:40e10f253…
Size
33.5 MB
Last updated
over 1 year ago
docker pull blazordevlab/blazorpocketapp