Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ofunaa/notee

【react&rails】notee is creating blog gem with only one command.
https://github.com/ofunaa/notee

cms rails react reactjs recaptcha riotjs ruby

Last synced: 2 months ago
JSON representation

【react&rails】notee is creating blog gem with only one command.

Awesome Lists containing this project

README

        

# Notee

Notee is creating CMS(blog) app by only one command.

BackEnd: Ruby(RailsEngine)
FrontEnd: React.js + Riot.js(only comment part)

### Editing View

![notee edit view](https://github.com/funaota/public_images/blob/master/notee/notee_edit.gif)

### Notee Demo

![notee_getstarted](https://github.com/funaota/public_images/blob/master/notee/notee_getstarted.gif)

## Installation

```ruby
gem 'notee'
```
$ bundle install
$ bundle exec rake notee:start

## Setting

### 1: you must set only reCAPTCHA

[Setting Recaptcha](https://github.com/funaota/notee/wiki/Setting-reCAPTCHA)

update for your setting in config/initializers/notee.rb

Recommendation using .env

```rb
require 'notee'

# Recommendation using .env

Notee.configure do |config|

# root-user
config.notee_id = "your_name"
config.notee_password = "your_password"

# recaptcha
config.recaptcha_key = "hogehoge"
config.recaptcha_secret_key = "hogehoge"

# blog
config.blog_meta = {
title: "Notee",
url: "http://hogehoge.com",
keyword: "hoge, hoge, hoge",
description: "【react&rails】notee is creating CMS(blog) app by only one command.",
og_image: "http://hogehoge.com/hoge.png"
}

# google-analytics
config.google_analytics = "hogehogehogehoge"
end

```

## Start

$ bundle exec rake db:migrate
$ bundle exec rails s

#### 1: access login page

access this url [http://localhost:3000/notee](http://localhost:3000/notee/)

#### 2: login
and Enter your notee_id & notee_password!

## Authority

| |Writer |Editor |Manager |Root |Deleted |
|:-----------|:----------:|:----------:|:----------:|:----------:|:----------:|
| Post(Create)       | ○ | ○ | ○ | ||
| Post(Update) | My Post | ○ | ○ | ||
| Post(Destroy) | | ○ | ○ | ||
| Category(Create) | ○ | ○ | ○ | ||
| Category(Update) | ○ | ○ | ○ | ||
| Category(Destroy) | | ○ | ○ | ||
| Image(Create) | ○ | ○ | ○ | ||
| Image(Destroy) | | ○ | ○ | ||
| User(Create)       | | | ○ | ○ ||
| User(Update) | My Profile | My Profile | ○ | My Profile ||
| User(Destroy) | | | ○ | ||

## Helper Method
[Helper Method](https://github.com/funaota/notee/wiki/Helper-Method)

## Setting Google Analytics

[Setting Google Analytics](https://github.com/funaota/notee/wiki/Setting-Google-Analytics)

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).