jenniferOlsen / ratataskr

Rataskr: Cause life isn't linear

Home Page:http://ratataskr.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ratataskr

About

This project uses Feathers, MongoDB, and React.

Getting Started

  1. Make sure you have NodeJS and npm installed.

  2. Install Mongo, these are good instructions https://treehouse.github.io/installation-guides/mac/mongo-mac.html

  3. Install your dependencies

    cd path/to/ratataskr; npm install
    
  4. Start Mongo

    mongod
    
  5. Start Ratataskr

    npm start
    

Mongo

To view the database data, open a new terminal window. Run mongo to access the [shell utility] (https://docs.mongodb.com/manual/reference/method/).

$ show dbs                             # List all databases
$ use ratataskr                        # Apply commands to our database
$ show collections                     # List all collections (i.e. 'tables')
$ db.users.find()                      # List all Users (shows full object)

Testing

Simply run npm test and all your tests in the test/ directory will be run.

Scaffolding

Feathers has a powerful command line interface. Here are a few things it can do:

$ npm install -g feathers-cli             # Install Feathers CLI

$ feathers generate service               # Generate a new Service
$ feathers generate hook                  # Generate a new Hook
$ feathers generate model                 # Generate a new Model
$ feathers help                           # Show all commands

Deploy

npm run build

About

Rataskr: Cause life isn't linear

http://ratataskr.com


Languages

Language:JavaScript 94.9%Language:HTML 4.5%Language:CSS 0.6%