A Node.js app using [Express 4] (http://expressjs.com/) to create easy to read OneNote page links into slack channels
This application supports the Getting Started with Node on Heroku article - check it out.
/onenoteurl <url> https://onedrive.live.com/edit.aspx?cid=<CID>&id=<DIRECTORY>&resid=<FILEID>&app=OneNote&&wd=<SECTION>|<SECTIONID>/<PAGENAME>|<PAGEID>
I want to turn something that looks like that crazy url into
to mimic the experience when you paste a OneNote online page into Skype or Outlook
Since this works as a Slack command in slack, in order to integrate with slack it must be deployed to a public instance. However there are probably some components to this microservice which benefit from being deployed locally.
$ git clone email@example.com:heroku/node-js-getting-started.git # or clone your own fork $ cd node-js-getting-started $ npm install $ npm start ## my thoughts I then just put my own code into this sample project I am hoping to use this as a rough project for someone else to build off of and as a learning experience for contributing towards the open source community. Everyone has to start somewhere!
Your app should now be running on localhost:5000.
$ heroku create $ git push heroku master $ heroku open
For more information about using Node.js on Heroku, see these Dev Center articles: