Name: lawyerfortheday
Owner: Code for Boston
Description: null
Created: 2017-08-11 18:30:26.0
Updated: 2017-09-20 16:04:52.0
Pushed: 2017-10-06 21:25:36.0
Homepage: null
Size: 225
Language: TypeScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The goal is to create an online unified repository of Massachusetts Courts “Lawyer for the Day” programs, and allow organizations to easily enter data about their programs to be shared with other organizations and websites.
This project will be implementing a password-protected front-end client for data entry and retrieval against this Open Referral API instance: http://developer.open.referral.adopta.agency/
This API backend will eventually be replaced with our own custom instance running the code here: https://github.com/adopta-agency/open-referral-api. Use the contacts listed in that README if you have any questions about their project.
Data from the 35 Court based programs on this list will be entered into a database via the API: https://www.masslegalservices.org/content/all-programs-legal-resource-finder
See the wiki for more details: https://github.com/codeforboston/lawyer-for-the-day/wiki
This project was generated with Angular CLI version 1.3.1.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
We use a CouchDB database named 'legalservices' to store documents posted from front end forms via the CouchDB REST API. To instantiate this database locally:
In the long term, we will use https://github.com/adopta-agency/open-referral-api (implementation of HSDS v1.1, to be used for this project) as our back-end. This API prototype is a full application. It is a Amazon Aurora (MySQL compliant) database, with the API running on AWS EC2 Linux instance running Apache, coded in PHP 5.3. The prototype is currently going through an overhaul in support of version 1.2. Once done, there will be a live version, as well as a sandbox version. The code for the entire API will be available on Github for forking and download.
The API is still under development which is why we are using our own custom database for now, storing data in a format close to the standard. The CouchDB data can be later made available in OpenReferral format.