codydaig / 911vm

2 stars 5 forks source link

Feature backend neo4j seed data #3

Closed montekaka closed 5 years ago

montekaka commented 5 years ago
  1. Adds neode package to interact with Neo4j
  2. Adds Neo4j driver configuration variables to .env file
  3. Adds mock data (/server/libs/data_dump)
    • volunteers
    • certifications
    • volunteer's certification expiration
    • sign offs
  4. Adds seed and dropDB to the "scripts" property of the package.json file
    • use npm run seed to import mock data into db
    • use npm run dropDB to delete all imported data from db
  5. Adds Person model, controllers, and router
    • List of endpoints
      • Person CRUD
        • POST: 'api/person'
        • GET: 'api/person'
        • GET: 'api/person/:id'
        • PUT: 'api/person/:id'
        • DELETE: 'api/person/:id'
      • Person's certification
        • GET: 'api/person/:id/certification'
        • POST: 'api/person/:id/certification'
      • Person's sign offs certification
        • GET: 'api/person/:id/signoffs'
  6. Adds Certification model, controllers, and router
    • List of endpoints
      • GET: 'api/certification'
      • POST 'api/certification'
codydaig commented 5 years ago

PR #6 has all your changes so closing this one in favor of #6.