https://github.com/nikrb/node-mongo-load-text
parse a text file into json and load to a mongo db - cloud9
https://github.com/nikrb/node-mongo-load-text
Last synced: 8 months ago
JSON representation
parse a text file into json and load to a mongo db - cloud9
- Host: GitHub
- URL: https://github.com/nikrb/node-mongo-load-text
- Owner: nikrb
- Created: 2016-02-29T22:06:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-02T05:08:45.000Z (over 10 years ago)
- Last Synced: 2025-04-05T17:30:33.300Z (about 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Read a text file and parse it to json.
Push the json to a mongo db
,-----.,--. ,--. ,---. ,--.,------. ,------.
' .--./| | ,---. ,--.,--. ,-| || o \ | || .-. \ | .---'
| | | || .-. || || |' .-. |`..' | | || | \ :| `--,
' '--'\| |' '-' '' '' '\ `-' | .' / | || '--' /| `---.
`-----'`--' `---' `----' `---' `--' `--'`-------' `------'
-----------------------------------------------------------------
Welcome to your Node.js project on Cloud9 IDE!
This chat example showcases how to use `socket.io` with a static `express` server.
## Running the server
1) Open `server.js` and start the app by clicking on the "Run" button in the top menu.
2) Alternatively you can launch the app from the Terminal:
$ node server.js
Once the server is running, open the project in the shape of 'https://projectname-username.c9.io/'. As you enter your name, watch the Users list (on the left) update. Once you press Enter or Send, the message is shared with all connected clients.