This is an example of a basic noderestAPI that allows data to be written to a mongodb and indexed with apache SOLR.
#Features
- Setup script to install MongoDB, NodeJS, Apache SOLR, and needed requirements
- Ability to Index Messages with Apache SOLR for fast searching
- Allow for basic REST Framework with messages and temperatures
- Script to get data from Raspberry Pi Temp Sensor to MongoDB and outputted on HighStocks.Js
0.9.0
NodeRestAPI uses a number of open source projects to work properly:
- [Twitter Bootstrap] - great UI boilerplate for modern web apps
- [node.js] - evented I/O for the backend
- [Express] - fast node.js network app framework [@tjholowaychuk]
- [jQuery] - For Ajax interaction
- MongoDB - Database used
- Apache Solr - Used for Fast Searching of MongoDB
Navigate to Setup folder
Run setup
Go into MongoDB
Type rs.initiate() and hit enter
Modify javascript under public/javascript/msgs.js with solr server IP
Modify config file as needed
- Mongodb running in background with startMongo script not working correctly
- Write Tests
- More Commenting