Skip to content

uwblueprint/paramedics-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paramedics-web

🚑 Web Server (Node.js + Express + GraphQL)

Setup

You will need docker installed and running - Docker Desktop is likely what you want. More specifically, we want to have both docker and docker-compose installed.

  1. clone this repo
git clone https://github.com/uwblueprint/paramedics-web.git
  1. build the build helper program (abstracts docker commands for easier development)
cd paramedics-web/build/builder
make optimal
  1. build docker images and run containers
cd ../..
./builder -m dev -e build
./builder -m dev -e run
  1. check that the containers are up and running
./builder -m dev -e status

this should show you something like this:

             Name                            Command               State               Ports
---------------------------------------------------------------------------------------------------------
paramedics-web_paramedics-api_1   docker-entrypoint.sh npm r ...   Up      0.0.0.0:4000->4000/tcp, 80/tcp
paramedics-web_paramedics-db_1    docker-entrypoint.sh postgres    Up      0.0.0.0:5432->5432/tcp
  1. check that you can see the graphQL playground at localhost:4000

About

🚑 Web Server (Node + Express + GraphQL)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published