GithubHelp home page GithubHelp logo

hamzaoutdoors / blog_app Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 2.0 1.95 MB

A Blog app similar classic blog website. With fully functional website that show the list of posts and empower readers to interact with them by adding comments and liking posts.

License: MIT License

Ruby 78.76% JavaScript 2.44% SCSS 1.77% HTML 17.03%
ruby-on-rails ruby-gem rspec-rails request-specs tdd backend learning-by-doing mvc-architecture ruby

blog_app's Introduction

Microverse MIT Licensed GitHub last commit (branch) GitHub Repo stars GitHub followers

Microverse

" we are gathered here today to get through this thing called LIFE." - Dearly beloved

Blog App

A Blog app similar classic blog website. With fully functional website that show the list of posts and empower readers to interact with them by adding comments and liking posts.

  • User
  • Post
  • Comment
  • Like

Everything will be based on the ERD class diagram presented below.


gif

Entity Relationship Diagram (ERD) of Blog App project

Getting Started

To run the project locally, copy up and running follow these simple example steps :

  • First of all make sure you have both Ruby & Rails installed in your machine (else You can install Rails just with this simple command gem install rails)
  • clone the project with the following command line :
$ git clone [email protected]:Hamzaoutdoors/BLog_app.git
  • Then go to the right folder
$ cd Blog_app
$ bundle

and run to install npm package

$ npm install

make sure the database is up and running.

$ rails db:create

When you will add migration file then, you can add command like

$ rails db:migrate

Run this command line to add some dummy data

$ rails db:seed

Run tests :

To run Request specs locally you need just to run this following command in your terminal :

$ bundle exec rspec

gif

16 Request Specs passed

Built With

  • Ruby on RAils
  • PostgreSQL

Authors

๐Ÿ‘ค Ellaouzi Hamza

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

Acknowledgments

  • Inspiration ๐Ÿ’˜
  • Microverse program โšก
  • My standup team ๐Ÿ˜
  • My family's support ๐Ÿ™Œ
  • MicroBros ๐Ÿ˜œ

๐Ÿ“ License

This project is MIT licensed.

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.