1.1.2 • Published 7 years ago
react-alt-node-mongodb v1.1.2
React-Alt-Node-Mongodb
Technologies
- Node.js
- Mongodb (Mongoose)
- React.js
- Alt (flux)
- Gulp
- SCSS
How to start?
- Clone this repository
$ git clone https://github.com/Amin52J/React-Alt-Node-Mongodb.git
orgit clone git@github.com:Amin52J/React-Alt-Node-Mongodb.git
- run
$ cd React-Alt-Node-Mongodb
- run
$ npm install
- run
$ sudo npm link
if you want to use CLI commands - run
$ ranm-connect
to connect to the database - run
$ ranm
to connect to the server visit localhost:3000
CLI Commands
$ ranm
to build the project and connect to the server$ ranm-connect
to connect to the database$ ranm-component
to create a new component with action and store$ ranm-element
to create a new element$ ranm-model
to create a new mongoose model$ ranm-api
to create a new server api
Known Issues
- if running
$ ranm-connect
didn't connect to the database and threw an EXISTS error, it is because another database is currently using the default port. You can run$ npm run db-list
to see the list of databases and then$ kill database_id
the database and try$ ranm-connect
again.
License
This project is licensed under the MIT License.