/Members-Only

This is a blog style application which lets users sign up and add posts related to their account.

Primary LanguageRuby

Members Only

Contributors Forks Stargazers Issues


Microverse Logo

Members Only Application

This project is part of the Microverse curriculum in Ruby On Rails course!
Explore the docs »

Report Bug Request Feature

This is a blog style application which lets users sign up and add posts related to their account.


Application Screen Shots

program interface


program interface


program interface


program interface


program interface


Table of Contents

About The Project

The project creates a database which holds 2 tables:
- Users
- Fields : name, email, encrypted_password, created_at, update_at, is_admin, is_member

- Posts  
  - Fields: title, body, user_id,created_at, update_a  

Constrainsts for tables are as follows:

  • Users Table

    • username: required
    • email: required
    • password: required
  • Posts Table

    • title: minimum length 3
    • body: minimum length 6

We added our styling choices editing the application.scss file


Application Instructions

  • Initially the application shows all the posts stored in the database, but users can not add new posts and can not see the author of them
  • New users must sign up and give a name, an email address and a password
  • Using email and password they can log in
  • A user has to log in in order to be able to add new posts.
  • The first user which signs up is asigned an Administrator status property, so has access to other users properties by a provided menu option (Members List).
  • An administrator can asign Administrative and Membership statuses to other users.
  • Each user has to be asigned a Member status property by an administrator user, in order to see the author of each post.

System Requierments

  • Ruby
  • Rails
  • Yarn

Dependencies

  • devise gem
  • better_errors gem

Configuration

  • first, clone the project Run
  git clone https://github.com/ericmbouwe/Members-Only.git
  • Install the necessary dependancies Run
  bundle install
  yarn install

Development

  • Clone the project
  https://github.com/ericmbouwe/Members-Only.git

Built With

This project was built using these technologies.

  • Ruby version 2.6
  • Ruby On Rails version 6.0
  • devise 4.7.1

Contributors

👤 Author_1

Eric Mbouwe

👤 Author_2

Ioannis Kousis


Acknowledgements