Contributing to FormsLab is fairly easy. This document will guide you through the process.
To run project locally:
- Clone or fork the repo.
- Run
npm install
to install dependencies. - Create a
.env
file in the root of the project and add at least the following environment variables:
DATABASE_URL= # Your MongoDB database URL (you can use a local database or a create on https://www.mongodb.com/cloud/atlas)
NEXTAUTH_JWT_SECRET= # random string
NEXTAUTH_SECRET= # random string
- Run
npm run dev
to start the development server.
We actively welcome your pull requests.
- Fork the repo and create your branch from
develop
. - If you've added code that should be tested, add tests.
- Ensure the test suite passes.
- Make sure your code lints.
- Create pull request.
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.