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
.env
with your personal tokenGITHUB_TOKEN=your-personal-github-token
- Update
.env
with your githubm usernameGITHUB_USE=your-github-username
- Update
.env
with 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