This API allows Multnomah County access to all of their services in a easy to use SQL database, allows parsing of their service offers in PDFs, and easy querying and updating through a multitude of REST endpoints
- Visual Studio
- SQL Server Management Studio
- Microsoft SQL Server
- Choose Basic installation
- Click I agree and accept the basic installation path
- When it's done installing, take note of the connection settings as we will use these for connecting to the database (default is localhost)
- Click install SSMS
- Download SQL Server Management Studio from the web page the previous step took you
- Click install
- Download Visual Studio
- Accept all the defaults and install
- Launch SQL Server Management Studio
- Connect to the database with the server name (default is localhost)
- Expand SQL Server
- Click on databases
- Click on File > Open > File
- Choose “Setup_InternalServicesDirectoryV1.sql” from within the git repository you downloaded
- Click on Execute, this will create the database!
- Run run_on_startup.exe from within Parser > run_on_startup.exe in the git repository you downloaded
- Enter your URL links to the PDF files you want to parse and populate the database with
- Hit q or Q when done entering links
- Wait for parser to finish
- Database should now be populated!
- From within SQL Server Management Studio, expand InternalServicesDirectoryV1 > Tables
- Right click on a table and click "Select top 1000 rows" to view the data in the table
- Launch the Multco-ISD-API.sln in the Multco-ISD-API folder
- Click the green arrow at the top of visual studio that says ISS express
- Within the website your browser lauches upon hitting ISS express, you can now play around and view endpoints
Developers may turn authorization on/off by performing the following steps in Visual Studio:
- Go to project > properties
- Select desired configuration (e.g. Debug/Release)
- In the "Conditional compilation symbols" field, define a variable
AUTH
- Make sure to save the changes
- Build project