https://github.com/scriptnull/wordy-backend
backend for scriptnull/wordy
https://github.com/scriptnull/wordy-backend
Last synced: 4 months ago
JSON representation
backend for scriptnull/wordy
- Host: GitHub
- URL: https://github.com/scriptnull/wordy-backend
- Owner: scriptnull
- Created: 2015-09-21T10:40:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-22T05:45:23.000Z (over 10 years ago)
- Last Synced: 2025-09-03T18:53:14.632Z (5 months ago)
- Language: JavaScript
- Size: 258 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wordy-backend
backend for scriptnull/wordy
# Prerequisites
- [Node.js](https://nodejs.org/en/)
- Grunt
```bash
npm install -g grunt-cli
```
- Sails.js
```bash
npm install -g sails
```
- [MongoDB](https://www.mongodb.org/)
# Running
Clone this repo
```bash
git clone https://github.com/scriptnull/wordy-backend.git
```
Run a mongoDB instance
```bash
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``
```bash
npm install -g
```
Run the server
```bash
npm start
```
or
```bash
sails lift
```
The 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.