This piece of code shows the simplest way possible to authenticate with the Faithlife API with Node.js.
- Register an application.
- Clone this repository.
- Run
npm installfrom the root of the repository. - Run
CONSUMER_TOKEN={your consumer token} CONSUMER_SECRET={your consumer secret} node server.js - Navigate to http://localhost:3000/ (you can customize this by setting the
PORTenvironment variable). - ???
- Profit