1.1.2 • Published 9 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.gitorgit clone git@github.com:Amin52J/React-Alt-Node-Mongodb.git - run
$ cd React-Alt-Node-Mongodb - run
$ npm install - run
$ sudo npm linkif you want to use CLI commands - run
$ ranm-connectto connect to the database - run
$ ranmto connect to the server visit localhost:3000
CLI Commands
$ ranmto build the project and connect to the server$ ranm-connectto connect to the database$ ranm-componentto create a new component with action and store$ ranm-elementto create a new element$ ranm-modelto create a new mongoose model$ ranm-apito create a new server api
Known Issues
- if running
$ ranm-connectdidn'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-listto see the list of databases and then$ kill database_idthe database and try$ ranm-connectagain.
License
This project is licensed under the MIT License.