Follow the steps below to run this project from your local machine. Note that this project is powered by the Google Cloud Natural Language API.
To look at this project from your local machine follow these steps:
-
pre-requisites: In order to use the Google Cloud Natural Language API, please register a project with Google and enable the API for it.
-
Fork or clone this repo to your local machine!
-
Create a local 'secrets.js' file and there, store the path to the key in an variable called GOOGLE_APPLICATION_CREDENTIALS and the project id in a variable called PROJECT_ID.
-
Run the following commands:
npm install
npm start
- Open localhost:8080 in your browser