/blogApp-1

The Blog app will is a classic blog website,that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

Primary LanguageRuby

Blog App

Microverse

The Blog app will is a classic blog website,that shows the list of posts and empower readers to interact with them by adding comments and liking posts.

wireframes
localhost_3000_ (7) localhost_3000_users_1000
localhost_3000_users_1000_posts (1) localhost_3000_users_1000_posts (2)

Built With

  • Ruby on Rails
  • PostgreSQL

Getting Started

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

Prerequisites

Setup

  • Make sure you have Ruby on Rails set up properly on your computer
  • Clone or download this repo on your machine
git clone git@github.com:andersonlebon/blogApp.git
~ cd blogApp

Development Database

# Go Postgres shell user
 sudo -i -u postgres psql
 - rails db:setup
 and then run
-  rails db:migrate
# Create a user with password
create user "user_name" with password 'user_password';

Install

bundle install

Run

rails s

If you get an error run

bin/rails webpacker:install
and now run  `rails s`

Test

rspec or rake

Authors

👤 Anderson Caleb

🤝 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

  • Microverse

License

MIT