Provides a react client and express server implementation to fetch a random note from Evernote API.
Hi friends – this project is abandoned and unsupported. Please fork and make an even better version for yourself. Contact Tiago Forte for license options.
package.json
proxy should showhttps://your-glitch-project-name.glitch.me
config/config.js
Urls showhttps://your-glitch-project-name.glitch.me
src/config/config.js
Urls showhttps://your-glitch-project-name.glitch.me
server/index.js
static
andsendFile
references should be uncommented
- Set
key.env
values:
evernoteKey
andevernoteSecret
values to your API keyHOST=your-glitch-project.glitch.me
- Open Glitch project Advanced Options -> Open Console:
rm -rf build/
npm run build
refresh
- Click Show button on Glitch project
- On Glitch, under project name, Advanced Options -> Download Project or clone project from github.com/galtenberg/evernote-random
- Obtain Evernote development API key
- Change local files (TODO fix this):
package.json
proxy should showhttp://localhost:8000
config/config.js
Urls showhttp://localhost:3000
src/config/config.js
Urls showhttp://localhost:3000
server/index.js
static
andsendFile
references should be commented out
- Run:
$ evernoteKey=[your-key-name] evernoteSecret=[your-key-secret] npm run start
You'll possibly want to use react-scripts 1.x outside of glitch (has too many dependencies / requires too much disk space on glitch).