GithubHelp home page GithubHelp logo

fdesjardins / protowebapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akhealth/protowebapi

0.0 2.0 0.0 1.75 MB

A .NET Core Web API application to support searching for Medicaid applicants in various backend systems.

C# 18.61% Shell 0.77% PowerShell 0.43% CSS 73.24% HTML 1.56% JavaScript 5.39%

protowebapi's Introduction

Prototype

An ASP.NET Core 2.0 web application that supports searching for Medicaid applicants. This is a prototype application that will assist the ARIES product team in its initial procurement.

This project primarily consists of a REST API for the Alaska MCI SOAP service and a web front-end. It also consists of Proof Of Concept for SQL Server and Postgres connections.

Environment

This app relies on ENV variables for configuration. Copy the example file and customize.

cd AKRestAPI
cp .env.example.bash .env
source .env

Note: .env.example.bash and .env.example.ps1 already has correct values for the docker-compose setup. Edit .env if you have to.

Running locally

We prefer using Docker locally. You can run the application with the dotnet CLI if you wish, but you're on your own for SQL Server and Postgres.

docker-compose build
docker-compose up -d
./sql-seed/seed-local-databases.sh
  • If you make changes to the app, reload it with docker-compose build web && docker-compose up -d web.
  • Follow logs with docker-compose logs -f.

Note: The SQL Server image requires 4G of RAM. You'll probably have to increase this limit in Docker settings.

Docker on Windows

Docker for Windows runs linux containers by default, and this works well. "Windows Containers" would be more performant, but will will not work out-of-the-box.

We include a .env.example.ps1 for Powershell. To seed your database change the extension of seed-local-databases.sh to .ps1 and run it in Powershell.

Running Tests

cd AKRestAPI.Tests
dotnet test

protowebapi's People

Contributors

ctro avatar mheadd avatar sztaylorakgov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.