Skip to content

[Blog app] Now it's time to set up our models to create the Blog app. To start with, we have tables for Users, Posts, Comments, and Likes, which means we need a model for each one

License

Notifications You must be signed in to change notification settings

brhanuhailu/blog-app

Repository files navigation

📗 Table of Contents

📖 [Blog app]

[Blog app] Now it's time to set up our models to create the Blog app. To start with, we have tables for Users, Posts, Comments, and Likes, which means we need a model for each one. It 've been given already set the foreign key in the table schema based on schema I create the model app.

🛠 Built With

Tech Stack

Client
Server
Database

Key Features

  • [add users to as client]
  • [Add Database to store the whole data]
  • [Add comments, likes and posts feature]

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  install  sudo apt-get install ruby-full

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone  https://github.com/brhanuhailu/blog-app.git

Install

Install this project with:

  cd project
  bundle install
  rails new ProgjectName --database= postgresql

Usage

To run server on brower the project, execute the following command:

  rails s

Run tests

To run Linter tests, run the following command:

  rubocop

Run unit tests

To run unit tests, run the following command:

  Rspec

Deployment

Not applicable.

(back to top)

👥 Authors

👤 Brhanu Hailu

👤 AmenMusingarimi

(back to top)

🔭 Future Features

  • [Add Model]
  • [Add Controller]
  • [Add View]

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project give a ⭐️ and I are so excited to accept you feedback to improve our profession.

(back to top)

🙏 Acknowledgments

i would like to thank Microverse

(back to top)

📝 License

This project is MIT licensed.

About

[Blog app] Now it's time to set up our models to create the Blog app. To start with, we have tables for Users, Posts, Comments, and Likes, which means we need a model for each one

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published