Skip to content

This is a project where I implement a blog for tech articles using rails with simple authentication.

License

Notifications You must be signed in to change notification settings

chubaquelo/Tech-Articles-Blog

Repository files navigation

Tech Articles Blog

This is a blog application made with Ruby on Rails, where an user can sign up and post articles in the corresponding category. A user can also register with a facebook account, and an image can be uploaded to each article.

screenshot

Built With

  • Ruby v2.7.1
  • Ruby on Rails v6.0.3.4
  • Postgresql
  • Testing: RSpec and Capybara
  • Rails Gems: DEVISE, OMNIAUTH

Live Demo

Live Demo

Setup

Clone the respository on your local machine using the command:

git clone https://github.com/chubaquelo/Tech-Articles-Blog

Go inside the created folder:

cd Tech-Articles-Blog

Instal Gems and dependencies:

bundle install
yarn install --check-files

Run database migration and seed:

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

Run server:

rails server

You can run Rspec tests with the command:

rspec spec

Open application in the browser through: http://localhost:3000

#f03c15 Note: although rails db:seed will fill the database with some articles, these won't have any images attached to them. Make sure you upload new articles with images once you have the app running.

Acknowledgment

  • Design of blog app was taken from Nelson Sawka on Behance
  • Devise and Omniauth were used for Facebook Login API integration. API keys (public and secret) are saved as environment variables for security.
  • Database model (ERD) first approach given for this work was: screenshot

Sergio Obolevich

🤝 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!

About

This is a project where I implement a blog for tech articles using rails with simple authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published