A library web application built on Node.JS with IBM AppID for Authentication and Identity Management.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Sign up for an IBM Cloud account.
- Download the IBM Cloud CLI.
- Download and setup Node.js.
- Create an instance of the Cloudant service and get your credentials:
- Go to the Cloudant page in the IBM Cloud Catalog.
- Log in to your IBM Cloud account.
- Click Create.
- Click Show to view the service credentials.
- Copy the
url
value.
- Clone the project
git clone https://github.com/bedangSen/The-Restricted-Section.git
- Open the config.js file and change the url for the Cloudant service.
cloudant_url: 'url'
-
Install the dependencies.
npm install
-
Run the application.
nodemon app.js
-
View the application in a browser at
localhost:8080
-
Login to IBM Cloud with the IBM Cloud CLI.
ibmcloud login
-
Target a Cloud Foundry organization and space.
ibmcloud target --cf
-
Deploy the application.
ibmcloud app push
-
View the application online at the app URL.
For example: https://my-app-name.mybluemix.net