Coder Social home page Coder Social logo

liri-node-app's Introduction

LIRI node app

A language interpretation and recognition interface. The is a command line node app which takes commands, hits the Twitter, OMDB and spotify APIs and logs information to the console.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

LIRI requires nodejs and npm to install and run. NPM comes with nodejs, so once you have node downloaded and installed you are good to go. To verify they are installed you can run:

node -v
npm -v

You will also need to sign up for Twitter and Spotify developer accounts in order to get API keys and client secrets. These need to be put in a .env file of the following format.

# Spotify API keys

SPOTIFY_ID=your-id-here
SPOTIFY_SECRET=your-secret-here

# Twitter API keys

TWITTER_CONSUMER_KEY=your-key-here
TWITTER_CONSUMER_SECRET=your-secret-here
TWITTER_ACCESS_TOKEN_KEY=your-token-here
TWITTER_ACCESS_TOKEN_SECRET=your-secret-here

# OMDB API key

OMDB_API_KEY=your-key-here

Installing

Once you have node.js and your .env file ready, clone this repo and put the .env in the root folder. Next run the following commands from the command line:

npm i

That's it! NPM will install the project's dependencies and you're ready to run LIRI. The commands are:

node liri.js tweets
node liri.js spotify <song title>
node liri.js movie <movie title>
node liri.js doIt

Built With

  • node.js - The runtime environment used
  • NPM - Dependency Management

Authors

License

This project is licensed under the MIT License

liri-node-app's People

Contributors

krab7191 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.