Skip to content

tylertechgraves/check-yo-self-api

Repository files navigation

check-yo-self-api Service

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.

Prerequisites

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

Building the check-yo-self-indexer container

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.

Generating the check-yo-self-indexer-sdk NuGet

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.

Accessing the check-yo-self-indexer Swagger page

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:

http://localhost:5002/swagger

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages