GithubHelp home page GithubHelp logo

ceci007 / members-only Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 621 KB

This is the fourth collaborative project from the Ruby on Rails module from the Microverse program. It consists of making an authentication web app with users who can register, login and logout, with the Devise gem and also have some social media functionality like posting anonymous comments and having restricted views depending on the role of the user, for example, users with the members-only attribute can see the name and picture of these anonymous users and the ones with the role admin can even delete accounts.

License: MIT License

Ruby 65.54% JavaScript 3.58% SCSS 2.32% HTML 28.56%
ruby ruby-on-rails css erb-template

members-only's Introduction

๐Ÿง members-only

This is the fourth collaborative project from the Ruby on Rails module from the Microverse program. It consists of making an authentication web app with users who can register, login and logout, with the Devise gem and also have some social media functionality like posting anonymous comments and having restricted views depending on the role of the user, for example, users with the members-only attribute can see the name and picture of these anonymous users and the ones with the role admin can even delete accounts. app screenshot

๐Ÿ”ง Built With these features

  • Ruby. v2.6.6
  • Ruby on Rails. v6.0.3.3
  • Using Rubocop Linters.
  • Bulma

๐Ÿ”ด Video Demo and Live Demo of the app

Video Demo Link

Live Demo Link

๐Ÿ›  Getting Started

Install

Besides the Video Demo Link, you can run those functions in your own local environment. In order to run, you need to install Ruby in your computer. For windows you can go to Ruby installer and for MAC and LINUX you can go to Ruby official site for intructions on how to intall it. Then you can clone the project by typing git clone https://github.com/Ceci007/forms.git on your terminal.

Run the application

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

  • Open a terminal
  • Copy this code : git clone "put the link from github repo"
  • Run the program with this code : bundle install
  • Run the program with this code : rails db:create rails db:migrate
  • before running rails server you must run a few more commands: first run yarn install --check-files, guard init livereload, rails generate simple_form:install, rails generate devise:install then you can configure the Devise gem.
  • now you can run rails server
  • Stop the program with: "Ctrl + C" (Windows or Linux) or "Command + C"(Apple)

Open app in browser

  • When the program is running go to your browser
  • put: localhost:3000/
  • Click on login, register and create a new article
  • Enjoy the app.

โœ’๏ธ Authors

๐Ÿ‘ค Cecilia Benitez Casaccia

๐Ÿ‘ค Youcef Abdellani

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

๐Ÿ“ License

This project is MIT licensed.

members-only's People

Contributors

abdellani-youcef avatar ceci007 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.