Coder Social home page Coder Social logo

marijanbrvar / opinioner Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.28 MB

Build a Twitter clone or someplace where you can state your opinion and see the reaction! Will, anybody follows you!

License: MIT License

Ruby 66.85% JavaScript 4.60% CSS 0.91% HTML 24.55% SCSS 3.09%

opinioner's Introduction

Opinioner

Capstone Project of the Ruby on Rails Curriculum in Microverse.

Here is a Capstone project built with Ruby on Rails. Project ideas are coming from a redesign suggestion of Twitter.

  • Users log in only with a username (proper authentication was not a requirement)
    • Before a user logs in, they can only see the Log in/Sign up page
    • When they log in, they have full access to the app
  • Users can create opinions/tweets
  • Users can follow other users
  • The discover page shows the most recent opinions/tweets from users that the logged-in user does not follow
  • The app is an MVP of the product - with the graphical design, including essential features, with the possibility to extend.

screenshot 1 screenshot 2 screenshot 3

Built With

  • Ruby (version 2.7.2)
  • Ruby on Rails (version 6.3.1)

Live Demo

Live Demo Link

Prerequisites

Ruby: 2.7.2 Rails: 6.1.3 Postgres: >=13.2

Setup

Install

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

  1. Position yourself in a working directory, e.g.: ~/work
  2. Run the following command git clone [email protected]:marijanbrvar/Opinioner.git && cd Opinioner
  3. To install prerequisites, just run bundle install,
  4. sometime is necessary to run yarn install as well
  5. Now, we need to migrate the database. We assume you already install the Postgres server on your local machine
  6. To enable the database for our application, run the following commands:
   rails db:create
   rails db:migrate
  1. After all these steps are finished, you can run the application by calling rails server
  2. Open the application in your browser at http://localhost:3000/register and sign up with a new user.

Run tests

Run following command for unit and integration tests

'rspec'

Github Actions in case when you Fork repo

To make sure the linters' checks using Github Actions work properly, you should follow the next steps:

  1. On your recently forked repo, enable the GitHub Actions in the Actions tab.
  2. Create the feature/branch and push.
  3. Start working on your milestone as usual.
  4. Open a PR from the feature/branch when your work is done.

Authors

๐Ÿ‘ค MARIJAN BRVAR

Marijan's GitHub stats

๐Ÿค 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

Design: Twitter Redesign, by Gregoire Vella

๐Ÿ“ License

opinioner's People

Contributors

marijanbrvar avatar

Stargazers

Ilie Babcenco avatar

Watchers

 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.