Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericmbouwe/members-only
This is a blog style application which lets users sign up and add posts related to their account.
https://github.com/ericmbouwe/members-only
Last synced: about 19 hours ago
JSON representation
This is a blog style application which lets users sign up and add posts related to their account.
- Host: GitHub
- URL: https://github.com/ericmbouwe/members-only
- Owner: EricMbouwe
- Created: 2020-06-10T10:15:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T19:22:40.000Z (almost 2 years ago)
- Last Synced: 2024-04-22T09:21:50.840Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 1.52 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Members Only
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
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
## Table of Contents
- [About the Project](#about-the-project)
- [Application Instructions](#application-instructions)
- [System Requierments](#system-requierments)
- [Dependencies](#dependencies)
- [Configuration](#configuration)
- [Development](#development)
- [Built With](#built-with)
- [Contributors](#contributors)
- [Acknowledgements](#acknowledgements)## 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_aConstrainsts for tables are as follows:
- Users Table
- username: required
- email: required
- password: required- Posts Table
- title: minimum length 3
- body: minimum length 6We 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
:bust_in_silhouette: **Author_1**
## Eric Mbouwe- Github: [@ericmbouwe](https://github.com/ericmbouwe)
- Twitter: [@ericmbouwe](https://twitter.com/ericmbouwe)
- Linkedin: [Eric Mbouwe](https://www.linkedin.com/in/ericmbouwe/)
- E-mail: [email protected]:bust_in_silhouette: **Author_2**
## Ioannis Kousis- Github: [@ioanniskousis](https://github.com/ioanniskousis)
- Twitter: [@ioanniskousis](https://twitter.com/ioanniskousis)
- Linkedin: [Ioannis Kousis](https://www.linkedin.com/in/jgkousis)
- E-mail: [email protected]
## Acknowledgements
- [Microverse](https://www.microverse.org/)
- [The Odin Project](https://www.theodinproject.com/)
- [Ruby Documentation](https://www.ruby-lang.org/en/documentation/)[contributors-shield]: https://img.shields.io/github/contributors/ericmbouwe/Members-Only.svg?style=flat-square
[contributors-url]: https://github.com/ericmbouwe/Members-Only/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/ericmbouwe/Members-Only.svg?style=flat-square
[forks-url]: https://github.com/ericmbouwe/Members-Only/network/members
[stars-shield]: https://img.shields.io/github/stars/ericmbouwe/Members-Only.svg?style=flat-square
[stars-url]: https://github.com/ericmbouwe/Members-Only/stargazers
[issues-shield]: https://img.shields.io/github/issues/ericmbouwe/Members-Only.svg?style=flat-square
[issues-url]: https://github.com/ericmbouwe/Members-Only/issues