Git Product home page Git Product logo

ikramagic / booksy Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 93 KB

Booksy is a simple blogging platform about literature. It allows users to create, read, update, and delete articles. It features user authentication, article privacy settings, and the ability for users to comment on articles.

License: MIT License

Dockerfile 3.14% Ruby 67.92% JavaScript 2.29% SCSS 0.11% HTML 25.97% Shell 0.57%
bootstrap bootstrap5 devise faker ror ror-api ruby ruby-app ruby-application ruby-gem ruby-on-rails rubyonrails

booksy's Introduction

Booksy: A Ruby on Rails Blogging platform about litterature

This Ruby on Rails application is a simple blogging platform that allows users to create, read, update, and delete articles. It features user authentication, article privacy settings, and the ability for users to comment on articles.

Features

  • User Authentication: Users can sign up, log in, and log out. Devise gem is used for authentication.
  • Article Management: Authenticated users can create new articles, edit their articles, and delete them. Each article has a title, content, and a privacy setting.
  • Privacy Settings: Articles can be marked as private or public. Private articles are only visible to the user who created them.
  • Comments: Users can comment on articles. Each comment displays the email of the author, the comment body, and the timestamp of creation. Users can only edit or delete their own comments.

Getting started

To get this application running on your local machine, follow these steps:

Prerequisites

  • Ruby (version as specified in .ruby-version)
  • Rails (version 7.1.3.2 or newer)
  • PostGreSQL (or configured database in config/database.yml)

Installation

  1. Clone the repository:

    git clone [email protected]:ikramagic/Booksy.git
    cd Booksy
  2. Install the required gems

    bundle install
  3. Set up the database

    rails db:create db:migrate db:seed
  4. Start the Rails Server

    rails server
  5. Open your browser and navigate to http://localhost:3000.

Usage

  • Visit the homepage: The list of public articles and the option to sign in or sign up.
  • Sign up or log in: To create, edit, or comment on articles.
  • Creating an article: Once logged in, users can create articles through the 'Create article' link in the navbar.
  • Privacy settings: Users can mark articles as private during creation or edit.
  • Commenting on articles: Users can add comments to articles at the bottom of each article page.

Contributing

Contributions are welcome, and any improvements or suggestions are appreciated. Feel free to fork the repository and submit a pull request.

License

This project is open-sourced under the MIT License. See the LICENSE file for more details.

booksy's People

Contributors

ikramagic avatar

Stargazers

Sylvain.D avatar Marina Torunova avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.