Skip to content

In this project, I have created a blog app, It is about using CRUD operation of ruby on rails, I used a wiframe to develop it.

License

Notifications You must be signed in to change notification settings

najibullahjafari/ruby_social_media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ruby Social Media

codecov

πŸ“— Table of Contents

πŸ“– Blog App

Blog in Rails App empowers the end-users to start a new blog-post, comment and like existing content.

πŸ›  Built With

Tech Stack

So you want to lear more about the tech we have used for this project?

Server
Database

Key Features

  • Make use for migrations features from Active Record
  • Include Tables for User, Comment, Post, and Like

(back to top)

πŸ’» Getting Started

To get a local copy up and running, follow these steps. Note: We are assuming you have pre-installed ruby, WSL, ubuntu and rails!

Prerequisites

In order to run this project you need:

first at all, install rails:

 gem install rails

Setup

Clone this repository to your desired folder:

  cd my-folder
git@github.com/najibullahjafari/ruby_social_media.git

Install

Install this project with:

  cd blog-app
  bundle install

Setting up the Data Base:

  rails db:create
  rails db:migrate
  rails db:seed

Usage

To run the project, execute the following command:

  rails server

Run tests

Before running tests, ensure you've set up the test database:

bin/rails db:migrate RAILS_ENV=test

Note: Given that the aim of this project is to test the application's UI, to see if it works without side effects. We have therefore had to modify the contents of certain files, which could have the effect of falsifying certain Unit tests. We therefore recommend that, rather than running all the tests, you only test the features folder and run

bundle exec rspec ./spec/features

Deployment

The deployment will be available soon !

(back to top)

```sh cd my-folder git@github.com:cancelei/blog-in-rails.git ```

Install

Install this project with:

  cd blog-app
  bundle install

Setting up the Data Base:

  rails db:create
  rails db:migrate
  rails db:seed

Usage

To run the project, execute the following command:

  rails server

Run tests

Before running tests, ensure you've set up the test database:

bin/rails db:migrate RAILS_ENV=test

Note: Given that the aim of this project is to test the application's UI, to see if it works without side effects. We have therefore had to modify the contents of certain files, which could have the effect of falsifying certain Unit tests. We therefore recommend that, rather than running all the tests, you only test the features folder and run

bundle exec rspec ./spec/features

Deployment

The deployment will be available soon !

(back to top)

πŸ‘₯ Authors

πŸ‘€ Najibullah Jafari

πŸ‘€ Glauber Bannwart

πŸ‘€ Joseph L Kausi

(back to top)

πŸ”­ Future Features

  1. Add a beautifull UI
  2. Add an endpoint for our API

We this project can improve, we are planning to include the next features soon:

πŸ”­ Future Features

We this project can improve, we are planning to include the next features soon:

  • User Interface
  • Validations
  • API documentation
  • Model Data
  • Controllers Testing
  • Models Testing
  • View Implementation
  • User Interface
  • Validations
  • API documentation
  • Model Data
  • Controllers Testing
  • Models Testing
  • View Implementation

(back to top)

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Would you like to help?

If you like this project feel free to leave an start, as well if you have a suggestion feel free to visit issues page.

(back to top)

πŸ™ Acknowledgments

I would like to thank Microverse for suggestion this project.

(back to top)

❓ FAQ (OPTIONAL)

Learn more about FAQ below:

  • How do I fix Linters errors if I modify the project?

    • for rubocop run
    rubocop -A
    • for Stylint run:
    npx stylelint "**/*.{css,scss}" --fix

    I would like to thank Microverse for suggestion this project.

(back to top)

❓ FAQ (OPTIONAL)

Learn more about FAQ below:

  • How do I fix Linters errors if I modify the project?

    • for rubocop run
    rubocop -A
    • for Stylint run:
    npx stylelint "**/*.{css,scss}" --fix

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

In this project, I have created a blog app, It is about using CRUD operation of ruby on rails, I used a wiframe to develop it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published