https://github.com/wallter/print3d-node-parse
https://github.com/wallter/print3d-node-parse
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wallter/print3d-node-parse
- Owner: wallter
- Created: 2019-04-20T18:31:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-20T20:50:24.000Z (about 7 years ago)
- Last Synced: 2025-06-30T21:43:34.215Z (12 months ago)
- Language: JavaScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Node Parse](http://parseplatform.org): [Server](https://github.com/parse-community/parse-server) + [Dashboard](https://github.com/parse-community/parse-dashboard)
### Assembled (code to come soon) by Tyler Wall
---
## Dependencies
- mongodb
## QuickStart
```sh
npm install -g parse-server mongodb-runner
mongodb-runner start &
npm start
```
*There will be warnings in the console, but the [dashboard](http://localhost:4040/dashboard) is functional.
**Dashboard**: http://localhost:4040/dashboard/login
> **Username**: `admin`
> **Password**: `admin`
**Parse Server**: http://localhost:1337/parse
## MongoDB Install Mac OSX via homebrew
```sh
$ brew update
$ brew doctor
$ brew install mongodb
$ sudo mkdir -p /data/db
$ sudo chown -R `id -un` /data/db
$ ls -la /data/db
```
### Install MongoDB with Homebrew
https://gist.github.com/subfuzion/9630872
Set up launchctl to auto start `mongod`
$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
`/usr/local/opt/mongodb/` is a symlink to `/usr/local/Cellar/mongodb/x.y.z` (e.g., `2.4.9`)
You can use launchctl to start and stop `mongod`
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
You can also more conveniently use `brew` to start, stop, and verify service status
$ brew services list | grep mongodb
$ brew services start mongodb
$ brew services stop mongodb
#### Notes
The default plist provided bymarkthe `dbpath` to be `/usr/local/var/mongodb` instead of the default `/data/db`.
For more about `launchctl` see:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/launchctl.1.html#//apple_ref/doc/man/1/launchctl
http://launchd.info/
### Start MongoDB daemon
```sh
$ mongod
# or
$ brew services start mongodb
```
### Enter Mongo CLI
```sh
$ mongo
```
### Install
```sh
$ npm install -g parse-server mongodb-runner
```
### Start mongo-runner
MongoDB Runner needs to be running to provide Mo
```sh
$ mongodb-runner start &
```
### Login
Login at:
http://localhost:4040/dashboard/login
> **Username**: `admin`
> **Password**: `admin`
Change in `config/parse.config.js (.users)`