Skip to content

An Exercise to learn Ruby on Rails. This project was built with Ruby on Rails. For this project, I followed jumpstartlab tutorial for learning purposes.

Notifications You must be signed in to change notification settings

CalyCherkaoui/blogger

Repository files navigation

Building a Blog with Rails

This project was built with Ruby on Rails. For this project, I followed jumpstartlab tutorial for learning purposes. This is pure backend exercise. That's why I left the styling for another next project.

Built with:

  • Framework/API : Ruby on Rails, Bootstrap 4
  • Langage: Ruby
  • Text-editor: Visual Studio Code

Models

The models created and their relationships:

Article:
  -Title:string
  -Body:text
  HAS_MANY: Taggings, Comments
  HAS_MANY: Tags THROUGH: Taggings
Comment:
  -Author_name:string
  -Email:string
  -Password:string
  BELONG_TO Article
Tag:
  -name:string
  HAS_MANY: Taggings
  HAS_MANY: Tags THROUGH: Taggings
Tagging:
  BELONG_TO Article, Tag

Getting started

To get a local copy of the repository please run the following commands on your terminal:

$ git clone git@github.com:CalyCherkaoui/blogger.git
$ cd blogger
$ git checkout development
$ bundle install
$ yarn install --check-files
$ rails db:migrate
$ rails server

In your browser's adress field, type : http://localhost:3000

Author

👤 Houda Cherkaoui

🤝 Contributing

Contributions, issues and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • jumpstartlab

📝 License

This project is MIT licensed.

About

An Exercise to learn Ruby on Rails. This project was built with Ruby on Rails. For this project, I followed jumpstartlab tutorial for learning purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages