https://github.com/hjfitz/aspen
ASPEN - Application for Simulating Patient EHR and NEWS. PJE40 @portsoc. Docs @ fyp.hjf.io/docs/js and fyp.hjf.io/docs/api
https://github.com/hjfitz/aspen
api computer computer-science fhir final-year-project node preact swagger
Last synced: about 2 months ago
JSON representation
ASPEN - Application for Simulating Patient EHR and NEWS. PJE40 @portsoc. Docs @ fyp.hjf.io/docs/js and fyp.hjf.io/docs/api
- Host: GitHub
- URL: https://github.com/hjfitz/aspen
- Owner: hjfitz
- License: gpl-3.0
- Created: 2018-12-06T16:06:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-11T15:09:29.000Z (about 7 years ago)
- Last Synced: 2025-03-03T17:42:17.505Z (over 1 year ago)
- Topics: api, computer, computer-science, fhir, final-year-project, node, preact, swagger
- Language: JavaScript
- Homepage: https://fyp.hjf.io
- Size: 12.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASPEN
> FHIR server with UI to record patient vital signs
## Development
### Prerequisites
You'll need the following software packages at the given versions to get developing
* Node.js ^11.x.x
* yarn ^1.12.x
* postgres ^10.6
* Database setup according to `db/schema.psql`
### Setup Commands
Once the software is setup, you need to install project dependencies, configure the application and start the compiler/server in development mode.
1. Install dependencies the project requires: `yarn install`
2. Configure the environment, copy `.env-sample` to `.env` and fill out the missing keys
4. Start the compiler in watch mode: `yarn build:dev`
5. Run the server in watch mode: `yarn dev`
## Running in Production
All you'll need is Docker installed. To start this, from a terminal run `docker-compose up`. You may need to run this as root.