GithubHelp home page GithubHelp logo

blog_app's Introduction

BLOG_APP

BLOG_APP is a web application that allows you to create, edit delete and show blogs built with ruby on rails

ERD (Entity Relationship Diagram)

  • BLOG_APP follows this diagram for creating migration files and database screenshot

Additional description about the project and its features.

Built With

  • RUBY
  • RUBY ON RAILS

Gems Used

  • Rubocop
  • RAILS (v7)

How to Setup

You can simply clone or download this repository, and use your favorite browser or code editor to run this program.

  • To open this project using vs code ( for this example) or your favorite code editor, you can follow the guide below:

    in your cmd or command line navigate to where this project is located, then:

cd blog_app

thereafter run

code .

How to Run the App through terminal

  • To run the application through trminal, make sure ruby and rails is installed in your computer then follow the guide below:

    in your cmd or command line navigate to where this project is located, then;

cd blog_app

Install Gems

bundle install

thereafter run the below command to start the server on localhost

rails s 

Set up database

to create databases on your local machine follow the steps below :

  1. First make sure that postgresql installed on your machine
  2. make sure that postgresql server is runninng
  3. run the following command to create database on your machine
rake db:create

Update schema file and database

  • To run the migration files to update schema and databse simply run the following command :
rails db:migrate

Testing

the application has tests written by rspec_rails to run the tests simply type the below command in the root directory

rspec

Author

๐Ÿ‘ค Youmari

๐Ÿค 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!

blog_app's People

Contributors

youmari avatar

Stargazers

 avatar  avatar  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.