Backend for the backend of the org app for Reach4Help
.env
file in your root folder with the same content as our integration file. This will be used by our integration tests once we have them.yarn build
(which runs a simple script) so it builds our docker-compose
with all its services (our app and dependencies) and installs every package we need. If you install any new dependency you'll also have to run yarn build
again!yarn start
, which in turn runs a simple script that aims to make this start up very easy to do.Dockerfile
and Dockerfile.dev
). Our start
is using Dockerfile.dev
which supports hot reload and all that good stuff so we can develop with pleasure!When the server starts have a go with the GraphQL playground at:
http://localhost:4000/
Organizations (has_many Users) (has_many Programs) (has_many Forms)
Users (belongs to Organization) (has_many Programs through ProgramAssignments) (Polymorphic child tables: Volunteers, Beneficiaries, Directors, Managers)
Programs (has_many Users through ProgramAssignments)
Requests (has_many Users through RequestAssignments)
RequestAssignments
ProgramAssignments
Forms (belongs_to Organization)