A minimal notes app, using github as storage
git clone
cd clear-notes
npm i
cp env.sample .env
- Create a personal access token to your github account https://github.com/settings/tokens
- Update
.envwith your personal tokenGITHUB_TOKEN=your-personal-github-token - Update
.envwith your githubm usernameGITHUB_USER=your-github-username - Update
.envwith a repo to store notes inGITHUB_REPO=your-repo-to-storen-notes-in
Minimal fuzz credential.
Set a prefred username/email and password in your .env and a secret uses to encrypt your token
PASSWORD=a-password-to-use-login-to-clear-notes
EMAIL=an-mail-to-use-login-to-clear-notes
TOKEN_SECRET=secret-used-to-hash-token
GITHUB_TOKEN=your-personal-github-token
GITHUB_USER=your-github-username
GITHUB_REPO=your-repo-to-storen-notes-in
PASSWORD=a-password-to-use-login-to-clear-notes
EMAIL=an-mail-to-use-login-to-clear-notes
TOKEN_SECRET=secret-used-to-hash-token
node .
Setup heroku according to their guides.
Set the variables from .env as Config Var