Nick Kasten IBM Dev Intern Summer 2017
git clone
this repo andcd
into the project's root directory.- Execute
mv src/sample-secret.js src/secret.js
from the root directory. - Create a new database in your Cloudant instance.
- Enable CORS in Cloudant and add http://localhost:8080 to the list of origin domains.
- Add your Cloudant URL to
src/secret.js
. - Execute
npm install
from the root directory of the project to install dependencies. - Use
npm start
to start the development server and launch your app. - Navigate to
http://localhost:8080
to see your app runninig in your browser.
- In Cloudant add https://localhost:8080 to the list of origin domains.
- Run the application with
npm run serve
. - Navigate to
https://localhost:8080
to see your app runninig in your browser.