backend for scriptnull/wordy
- Node.js
- Grunt
npm install -g grunt-cli- Sails.js
npm install -g sailsClone this repo
git clone https://github.com/scriptnull/wordy-backend.gitRun a mongoDB instance
mongod --dbpath "D:\mongoDbFiles"Here all the files related to database will be autogenerated by sails app in the path "D:\mongoDbFiles"
change directory to wordy-backend/app
npm install -g Run the server
npm startor
sails liftThe server will give an endpoint at POST http://localhost:1337/parse which will get a file with srcfile param in it and parse , insert to database and send back the response.