Test Database Specification
This zip file contains a pre-configured database that can be uploaded into an empty test environment.
to restore expand the zip file into your project folder /dump/vly-db then run
mongorestore --drop -d vly2 dump/vly-db
The default test database will have the following entities defined
Organisations
Admin - members have admin status
OP1 - example school
AP1 - example activity provider
VP1 - example volunteer provider.
People
SysAdmin
OP Admin 1
OP Member 1
OP Member 2
OP Follower 1
AP Admin 1
AP Member 1
AP Member 2
AP Follower 2
VP Admin 1
VP Member 1
VP Member 2
VP Follower 1
Membership
SysAdmin - member and orgAdmin of Admin
OP Admin 1 - OrgAdmin of School 1
OP Member 1 - member of School 1
Op Member 2 - member of school 1
OP Follower 1 - follower of school 1
AP Admin 1 - OrgAdmin of AP1
AP Member 1 - member of AP1
AP Member 2 - member of AP1
AP Follower 2 - follower of AP1
VP Admin 1 - OrgAdmin of VP1
VP Member 1 - Member of VP1
VP Member 2 - Member of VP1
VP Follower 1 - Follower of VP1
Activity plans
Owned by AP1.
Activity Plan 1 - published
Activity Plan 2 - draft
Opportunities
Requested by OP Member 1
Opportunity 1 - based on AP1 - published
Opportunity 2 - original, published
Opportunity 3 - original draft.
Opportunity 4 - published and completed
Interests
VP Member 1 - interested in Opportunity 1,
VP Member 1 - attended Opportunity 4
VP Member 2 - invited and committed to Opportunity 3
VP Member 2 - attended Opportunity 4