/PokeBlazor

A Blazor app for requesting data from the Pokemon API

Primary LanguageC#MIT LicenseMIT

PokeBlazor

A simple example of how Blazor can be used to build single page applications against a known API - in this case the Pokemon API

Licence Used

License: MIT

See the contents of the LICENSE file for details.

Pull Requests

PRs Welcome

Pull requests are welcome, but please take a moment to read the Code of Conduct before submitting them or commenting on any work in this repo.

Requirements

The following software needs to be installed:

Building and Running the Project

If the sln file is opened with Visual Studio 15.7 Preview, then hitting Ctrl+F5 (or just F5) will start PokeBlazor.Server, which will start the application.

If running from the command line, you will need to cd into the PokeBlazor.Server directory and run:

dotnet run

Publishing

A Dockerfile has been provided, so you can publish and run a container like so. The example below is accessible on http://localhost:8080

docker build -t pokeblazor .
docker run -p 8080:80 pokeblazor