Quill is a registration system designed especially for hackathons. For hackers, it’s a clean and streamlined interface to submit registration and confirmation information. For hackathon organizers, it’s an easy way to manage applications, view registration stats, and more!
After users login, the Dashboard displays the user’s application status and status-specific prompts to resend a verification email, view/edit their application or confirmation forms.
The Application tab takes users to their registration or confirmation form.
Hackathons commonly allow participants to register and be admitted as a team. The Team tab allows users to create or join a team with other users.
Admins can view stats, look through applications, or edit settings from the Admin panel.
The Stats tab summarizes useful registration statistics on the number of users in each stage of the process, demographic information, and miscellaneous event preferences like shirt sizes, dietary restrictions, or reimbursement requests.
The Users tab displays a table of users where admins can:
On the Settings tab, admins can easily control their event application timeline by setting registration / confirmation deadlines. They can also write custom waitlist, acceptance, and confirmation copy that users will see on their dashboard throughout the application process. The custom copy is interpreted as Markdown, so HTML and images can be added.Node.js
Run the following commands to check the current installed versions:
node -v mongo --version
How to upgrade to latest releases:
Additonally, there is an
.nvmrc file in the root of the project. You can use Node Version Manager (nvm) to make sure you are using the right version of node for this and other projects! This also ensures that any cloud deployments of the project use the same version of Node.
dotenv to keep track of environment variables, so be sure to stop tracking the
.env file in Git:
git update-index --assume-unchanged .env
After doing this, fill in the environment variables in the
.env before running Quill.
Ideally, you should run MongoDB as a daemon with a secure configuration (with most linux distributions, you should be able to install it with your package manager, and it'll be set up as a daemon). Although not recommended for production, when running locally for development, you could do it like this
mkdir db mongod --dbpath db --bind_ip 127.0.0.1
This step is only required if you want to test the email-related functionality of Quill. The easiest option is to use the SMTP server provided by your personal email (Gmail, Outlook, etc.). Look for the documentation about SMTP for your respective email and fill in the values in the
.env accordingly. Be warned that sending many emails this way is not recommended and this method should only be used for testing. In particular, note that Gmail will require you to enable less secure apps in your security settings before Quill will be able to send email.
Install the necessary dependencies:
Ensure you have filled in the
.env according to your setup, and then run the application:
The database can either be hosted with a cloud-hosted MongoDB provider, such as MongoDB Atlas, or on your own server. Cloud-hosted MongoDB will generally be easier to set up and should be the preferred choice unless you are familiar with administering your own server. A guide to setting up Atlas can be found here. Note that the URI for the database (which must be specified in
.env) will be different depending on where your database is hosted. If you use the "Deploy the Heroku" button in this document, a MongoDB instance will automatically be spawned via Heroku.
A dedicated SMTP provider is absolutely required if you want Quill to work for your hackathon. There are several providers available such as Mailgun or Sendgrid, both part of the GitHub Student Developer Pack. After setting this up, fill in the
.env with the values that your provider gives you.
There are also several options for hosting Quill itself. You can use Heroku by clicking the Deploy to Heroku button above where, after making a Heroku account, you will be able to set the configuration variables and deploy Quill. A Dockerfile has also been provided to make it easy to run Quill in a Docker container either on your own server or with your preferred cloud service provider. Don't forget to publish the container's port
3000 to the host machine. If using the command line, this is done by using the
-p flag and specifying which port on the host machine should redirect to port 3000 on the container.
If you're using Quill for your event, please add yourself to this list. It takes less than a minute, but knowing that our software is helping real events keeps us going ♥
If you’d like to customize the text that users see on their dashboards, edit them at
Customize the color scheme and hosted assets by editing
client/stylesheets/_custom.scss. Don’t forget to use your own email banner, favicon, and logo (color/white) in the
assets/images/ folder as well!
If you want to change the application questions, edit:
client/views/admin/users/to render the updated form properly in the admin view
If you want stats for your new fields:
To customize the verification and confirmation emails for your event, put your new email templates in
server/templates/ and edit
.github/workflows/build.yml contains a Github Action for building and running the project. The only test currently run is to check that a GET request of
/login returns a status code
200. This should be expanded in future with thorough unit testing. The Github action spawns a Docker instance of MongoDB for the application to connect to and utilizes the NodeJS version as specified in the
.nvmrc file. This action is run automatically on each push to any branch.
.github/workflows/link.yml contains a Github Action for linting the project. The action is currently using ESLint to achieve this with a very minimal ruleset (currently only checking for semi-colon rules). This should be modified to include an opinionated style checker such as AirBnb's. This action is run automatically on each push to any branch.
.github/workflows/dockerimage.yml conatins a Github Action for building and publishing a Docker Image to the Docker Hub. The action takes the docker file at
.Dockerfile and publishes it to the account specified in the Github Secrets. This action is run automatically on each merge to the
This will output an image in Docker Hub located at $DOCKER_USER/quill:latest
The repository has been signed up to Dependabot, an automated dependency management tool. Dependabot automatically checks for updates for any outdated or insecure requirements and it will open a pull request for each one of them. To parametrize the tool further please look here.
This project has been set up to run workflows that send notifications to a Discord server and a Slack workspace when changes are pushed. The secrets required to run these must be set by the admin according to the documentation of each implementation (configuration links).
.ymlfile information has already been added to the repository under
.github/workflows/notify.ymland individual platforms may be removed by editing this file.
/githubat the end of the
DISCORD_WEBHOOKtoken (contrary to what the action recommends) will use the default GitHub webhook settings in addition to sending this action's notification. We suggest leaving it if there is no webhook already configured.
Basic Jest testing has been implemented in the
test.js file. Currently the only test is to check that the
/login page returns a HTTP 200 status code. These tests can be run using the
npm run test command. More Jest tests including snapshots and unit tests should be added as features are created or updated.
Testing for accessibility is a great way to make sure that all hackathon enthusiasts can use Quill, regardless of ability. It's good practice to run accessibility tests on any changes that you've made to ensure that no new accessibility errors were introduced.
An accessibility testing tool, pa11y-ci, has been provided and configured for this project. To run pa11y-ci, make sure that Quill is running locally on http://localhost:3000/ (alternatively, you can change the URLs specified in
.pa11yci to match those of your running instance). Then, run the command
npm run test:accessibility. If several of the URLs checked by pa11y-ci produce the same number of errors, pa11y-ci may be having trouble logging in with the default admin credentials specified in
.env. Check that your instance of Quill is running correctly, or change the credentials used in
If your contribution adds any new pages to Quill, please add them to
.pa11yci to make sure that these pages are covered by the accessibility tests. If your new pages are accessed as a non-logged-in user, add them at the beginning of the URL list. If they are accessed when logged in, add them after the URL with actions to log in.
Contributions to Quill are welcome and appreciated! Please take a look at
If you have any questions about this software, please contact email@example.com.
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]