Change to scrollbar.dk when domain settings have been changes
https://test-scrollbar.web.app
Suggested extensions for enhanced development experience:
dbaeumer.vscode-eslint
esbenp.prettier-vscode
jpoissonnier.vscode-styled-components
davidanson.vscode-markdownlint
Remember to checkout on a new branch when making changes. The naming convention is to prefix with feature/
when you make an enhancement or fix/
when you fix a bug.
Example when creating a count down timer: checkout -b feature/count-down
.
Create a PR to develop when ready for review. You can indicate work in progress by adding the prefix WIP
or 🚧
to the PR title.
A preview url will be generated for each PR. When merged into the develop branch, changes will be deployed to https://test-scrollbar.web.app
Always make sure that your code is properly linted according to the rules defined in .prettierrc.js
and .eslintrc.js
. Run yarn lint:fix
to run the linter on the entire directory.
-
Create a firebase project and populate a local
.env
file with the environment variables. See.env.example
-
Go to your firebase console
-
Enable e-mail authentication
-
Activate your firestore database in the eu-west region
-
Create a collection named
invites
and add a document with your email as the id. Create a boolean field namedregistered
with the value false. -
Run
yarn install && yarn start
-
Navigate to https://localhost:3000/register and sign up
-
Go back to your firestore database and change the
isAdmin
value totrue
in the recently created document in theusers
collection -
Sign in at https://localhost:3000/login
-
Happy coding...