TimeKeeper was created and published by Accidental DevOps LLC in 2022. It succeeds at attempting to resolve a single, simple problem: Getting payroll time information from employees to payroll controllers as simply and hands-off as possible.
- Clone the repo TimeKeeper-API
- Rename
.env_template
to.env
and enter your configuration details - Push your backend to your preferred hosting provider
Name | Default value | Description |
---|---|---|
NODE_ENVIRONMENT | PRODUCTION | Determines secure cookie, session storage, log verbocity, etc. |
PORT | 3000 | Sets the HTTP Listener Port for the express server |
MONGO_URI | null | MongoDB Server URI |
SG_API_KEY | null | SendGrid API Key that's unique to this project |
SG_SUBMISSION_TEMPLATE_ID | null | SendGrid dynamic template ID for sending timecard emails |
SG_TOKEN_TEMPLATE_ID | null | Sendgrid dynamic template ID for sending users their login token |
TO_EMAIL | [email protected] | The primary target email address that your output should be sent to. |
FRONTEND_URL | null | The public facing URL for the front end form. Allows index route redirection |
SESSION_KEY | null | Seed value for calculating session keys. Allow persistent login sessions for the backend |
- Create a SendGrid Account
- Create an API Key (Settings>API Keys) and put it in your .env
- Create a dynamic email template and put the template ID in your .env. See my table example with handlebars iterator.
Closed Source, please reach out to [email protected] to discuss a license arrangement.