brainzilla79 / notecloud

A single page evernote clone built using Ruby on Rails and React/Redux.

Home Page:https://notecloudhapp.herokuapp.com/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notecloud

Notecloud is a lightweight Evernote clone built using Ruby on Rails and React.js. See it live here

Features

Notes

Users can create, read, update and delete notes.

Notebooks

Notes can be easily organized into notebooks.

Tags

Tags can be created and linked to notes in a many to many realtionshsip. Tags can be created by clicking on the create tag button.

And also by typing the name of the tag in the input field on the note form.

A tag is only created if one does not already exist with that name and if the note form input is used a tagging association is created.

Search

Users can search notebooks and tags via the search bar in the coresponding index component.

The controllers index method performs a case insensitive search if the search param is present and returns the corresponding collection.

def index 
    if params[:search]
      @notebooks = current_user.notebooks.where("lower(name) LIKE ?", "%#{params[:search].downcase}%").includes(:notes)
    else 
      @notebooks = current_user.notebooks.includes(:notes)
    end 
    render :index
  end 

Infinite Scroll

Notes are loaded 25 at a time with the next batch being fetched when the user scrolls to the bottom of the list. When this occurs a loading spinner appears and then disappears when the response is received.

About

A single page evernote clone built using Ruby on Rails and React/Redux.

https://notecloudhapp.herokuapp.com/#/


Languages

Language:JavaScript 48.3%Language:Ruby 38.9%Language:CSS 8.5%Language:HTML 3.4%Language:CoffeeScript 0.8%