This ASP.NET WebApi application provides access to the check-yo-self
MySql database. It contains an Entity Framework Core migration that
runs on startup of the application. That migration creates an employees
database in MySql. The API also provides access to the employees database
to other services. This API also calls the check-yo-self-indexer
service to index records in Elasticsearch that are added or updated.
Finally, this API is capable of reading all employee records
from the MySql database to completely repopulate the Elasticsearch index.
Instructions for preparing your machine for the check-yo-self app are located in the check-yo-self-prep-script repo located at the following url: https://github.com/tylertechgraves/check-yo-self-prep-script
The dockerize.ps1
and dockerize.sh
scripts located at the root of this project will build
the required Docker container for this service. Just choose one to run,
based on the OS you're running.
The packNugets.ps1
and packNugets.sh
scripts located in the SDK project's
build-scripts folder will generate an SDK NuGet that other developers
can consume to more easily interact with this API. Just choose one to run,
based on the OS you're running.
Once the check-yo-self-indexer Docker container is listening on port 80, you can navigate to the app in a browser by going to the following URL: