Skip to content

Node.js server that extracts and displays motivational images from your Evernote notes

License

Notifications You must be signed in to change notification settings

adrienjoly/1st-thing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1st Thing In The Morning

The goal is to give you the motivation to execute your tasks, every morning. By sending a notification to your mobile phone, with a reminder of all the tasks you want to do today, and a motivational image.

Status: What it does now [work in progress]

After you login to Evernote Sandbox, it displays a web page listing your Evernote notebooks, and the first image attached to the first note of your first notebook.

Inspiration

This article says that procrastination prevents us from succeeding in our projects, and that one way to beat it is to write down a list of simple tasks, and commit to it. So we are building an app that helps you do that.

History

Setup

  • Install dependencies:
$ npm install
  • Create the .env file to set your environment variables:
$ cp .env.sample .env

Start application

Run with Node.js

  • Change the environment variables in .env to:
APP_URL=http://localhost
PORT=3000

You can start the express server with npm start. Once the server starts, you can access http://localhost:3000 and see the application. It will list the notebooks in your sandbox account after you authenticate. Edit express/routes/index.js to try other parts of the Evernote API.

Run with azk (container)

  • Install azk.
  • You need a sandbox account on Azk. You can create one here.
  • Fill your Azk API Consumer Key and Consumer Secret in .env.
  • Change the environment variables in .env to:
APP_URL=http://express.dev.azk.io
PORT=3000

Go to your terminal and run:

$ azk start

And open: http://express.dev.azk.io

Deploy to Heroku

  • After you associated your cloned repo with a heroku app, push the last commit to it:
git push heroku master
  • Don't forget to setup your the environment variables in your heroku app's dashboard! (except PORT)

About

Node.js server that extracts and displays motivational images from your Evernote notes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.6%
  • HTML 20.9%
  • CSS 3.5%