Giter Site home page Giter Site logo

blog's Introduction

Microverse

Ruby Shell Script Postgres Rails

Blog πŸ—’οΈπŸ’‘βœοΈβ€οΈ

This repo holds a simple blog website app built with ROR. The website shows the list of posts and empowers readers to interact with them by adding comments and liking posts.

Database ERD Diagram πŸ“

Built With πŸ› οΈ

  • Ruby Popular programming language that’s used for lots of things, from web app development to data analysis.
  • GitHub flow: Correct use of Branches for deployment and features development.
  • Linters Check (Rubocop & Stylelint): Local and Pull Request check for errors, bugs and stylistic errors in code.
  • PostgreSQL: A powerful, open source object-relational database system.
  • Rails: A web application development framework written in the Ruby programming language. This app currently implements version 7.0.4

Getting Started ➑️

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

  • Check the Ruby version or if you have at all by running ruby -v if it returns ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) or similar, you have Ruby installed.
  • Ruby version used ruby 3.1.2

Setup πŸ› οΈ

  • Clone the repository using the GitHub this link πŸ”—
  • cd blog
  • Run bundle install
  • Run rails server
  • Open Browser http://localhost:3000/
  • Ensure you have PostgreSQL installed before running the applicationpsql --version.
  • Run rails db:create.
  • Create a .envs file using the link to host postgres credentials.

Testing

To run tests:

  • Ensure you have RSpec installed: running bundle install will install it since it is included in the Gemfile.
  • To run a specific test:
  • Run rspec spec/models<name_of_spec_file>
  • To run all tests:
  • Run rspec spec

Authors ✍️

πŸ‘©β€πŸ’» Rodrigo Johann Reckziegel Nunes ✍️

Project Milestones πŸ“Œ

  • Milestone 1: Creating a data model. βš™οΈ
  • Milestone 2: Validations and Model specs. βš™οΈ
  • Milestone 3: Processing data in models. βš™οΈ
  • Milestone 4: Setup and controllers. βš™οΈ
  • Milestone 5: Controllers specs. βš™οΈ
  • Milestone 6: Views. βš™οΈ
  • Milestone 7: Forms. βš™οΈ
  • Milestone 8: Integration specs for Views and fixing n+1 problems. βš™οΈ
  • Milestone 9: Add Devise. βš™οΈ
  • Milestone 10: Add authorization rules. βš™οΈ
  • Milestone 11: Add API endpoints. βš™οΈ
  • Exercise: API documentation. βš™οΈ

🀝 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

  • Hat tip to anyone whose code was used
  • Microverse staff
  • Inspiration
  • etc

πŸ“ License

This project is MIT licensed.

blog's People

Contributors

aron-net avatar hannziegel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.