API for registration, live-site
Check out this page.
- Getting started
- How to deploy
- Coding standards
- API HTTP route documentation
- Architecture, Dependencies, Design
HackerAPI
βββ Dockerfile: controls running of docker image
βββ README.md: root of all information
βββ VERSION: version number of the application
βββ app.js: express app object
βββ bin
βΒ Β βββ www: entry point to the application
βββ build.sh: builds a docker image
βββ docs: For all of your documentation needs
βΒ Β βββ deploy.md Deployment docs
βΒ Β βββ standards.md Coding standards docs
βΒ Β βββ api
β βββ index.html api documentation
βββ controllers
β βββ account.controller.js Controller for account related responses
β βββ auth.controller.js Controller for authentication related responses
β βββ hacker.controller.js Controller for hacker related responses
βββ middlewares
β βββ account.middleware.js Middleware for account
β βββ auth.middleware.js Middleware for authentication
β βββ parse-body.middleware.js Middleware for parsing information sent in during request
β βββ util.middleware.js Common middleware used in many routes
β βββ validators Validation of passed in data
β βββ account.validator.js
β βββ auth.validator.js
β βββ hacker.validator.js
β βββ team.validator.js
β βββ validator.helper.js
βββ models All of the schema and model information reside here
βΒ Β βββ account.model.js Schema for generic user account
βΒ Β βββ bus.model.js Schema for a bus route.
βΒ Β βββ hacker.model.js Schema for a hacker account.
β βββ passwordResetToken.model.js
β βββ role.model.js
β βββ roleBinding.model.js
βΒ Β βββ sponsor.model.js Schema for sponsor account.
βΒ Β βββ admin.model.js Schema for admin members (not volunteers)
βΒ Β βββ team.model.js Schema for a hacker team.
βΒ Β βββ volunteer.model.js Schema for volunteers on the day-of
βββ package-lock.json
βββ package.json Stores npm script commands, dependencies
βββ populatedb.js
βββ release.sh Creates and deploys container image.
βββ routes
β βββ api
β β βββ account.js Handles account related routes
β β βββ auth.js Handles all login, logout, password routes
β β βββ hacker.js Handles hacker related routes
β β βββ team.js Handles team related routes
βΒ Β βββ index.js Root route
βββ services Stores all services, such as logging, and versioning, and db access
β βββ account.service.js
| βββ accountConfirmation.service.js
β βββ auth.service.js
β βββ database.service.js
β βββ email.service.js
β βββ env.service.js
β βββ hacker.service.js
β βββ logger.service.js
β βββ resetPassword.service.js
β βββ role.service.js
β βββ roleBinding.service.js
β βββ search.js
β βββ sponsor.service.js
β βββ storage.service.js
β βββ team.service.js
β βββ version.service.js
β βββ volunteer.service.js
βββ tests
βββ setup.spec.js
βββ util
βββ account.test.util.js
βββ bus.test.util.js
βββ hacker.test.util.js
βββ sponsor.test.util.js
βββ admin.test.util.js
βββ team.test.util.js
βββ volunteer.test.util.js