Skip to content

iceland101113/dojo_forum

Repository files navigation

A Blog wesite

image

Introduction           

  • All User can do:

    • Sign Up
    • Log in
    • view publish post which was authorized
    • view publish post replies count and viewed count
    • comment on published post
    • edit your own profile
    • collect interesting post
    • make friend with other user
    • CRUD you own post and attach a picture when create post
    • set the category of your post
    • save your post as draft or publish it
    • set who can see and give commient on your published post(public, friend only, only author)
  • All manager can do:

    • CRUD post categories
    • manage website user and set their role
    • can delete all the post
  • For developer, can get json data by using API path as below:

    • get all post /api/v1/posts

    • get auth_token /api/v1/login

    • get a post /api/v1/posts/:id?auth_token={your_token}

    • create a post /api/v1/posts?auth_token=

    • edit a post /api/v1/posts/:id?auth_token={your_token}

    • delete a post /api/v1/posts/:id?auth_token={your_token}

Version  

  • ruby 2.3.7
  • rails 5.1.6

Getting Started

  • set up bundle install rails db:migrate

  • set default data rails db:seed

About

this is a blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages