Nightmare Prom Memories

    react-alt-node-mongodb

    1.1.2 • Public • Published

    React-Alt-Node-Mongodb

    Technologies

    1. Node.js
    2. Mongodb (Mongoose)
    3. React.js
    4. Alt (flux)
    5. Gulp
    6. SCSS

    How to start?

    1. Clone this repository $ git clone https://github.com/Amin52J/React-Alt-Node-Mongodb.git or git clone git@github.com:Amin52J/React-Alt-Node-Mongodb.git
    2. run $ cd React-Alt-Node-Mongodb
    3. run $ npm install
    4. run $ sudo npm link if you want to use CLI commands
    5. run $ ranm-connect to connect to the database
    6. run $ ranm to connect to the server
    7. 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

    1. 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.

    Install

    npm i react-alt-node-mongodb

    DownloadsWeekly Downloads

    7

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • amin52j