(Backend Code updates are Dis-Continued because of security issue) It is a Node.js sever for application an Hybrid Application Chatppl , it provide REST API for that applicaiton.
Pre-requisites:
- Node.js
- MongoDB
Install MongoDB and NodeJS x64 distributions from its websites.
Move to the Project Directry
$cd projectDirectry
- Installing all the Dependencies
$npm install
- Adding MongoDb URL for DataBase Conntection Move to project folder then
$cd app/model/
Then open the dbCollection.js file and put your data base URL
mongoose.connect('Data base URL');
- Setting up the API key Move to project folder then
$ cd app/Config/
Then open the Config.js file and put your own apiKey
"encrypt_key" : 'API key'
- Running in Project Move to project folder then
$ node server.js
- Server is Developed on localhost:8080
- Add API key in the header when hitting an API
#License MIT