Members-only

This project is about building a platform where only Users who are signed in can create a post and also see who create a post while users who are not logged in can only see post but can't know who posted.

Built With

  • Ruby 2.7.1
  • Rails 6.0.3.2
  • VS Code

Prerequisites

In order to make the program work, you need to have ruby interpreter installed in your system. You can get the latest version of ruby from official website.

Getting Started

  1. clone the project
# Clone this repository
$ git clone https://github.com/ignatius22/members-only.git

# Go into the repository
$ cd members-only

# make sure you have ruby 2.7.1
# install gems from Gemfile using bundle
$ bundle install

# migrate table to database

$ rails db:migrate

# use rails console to test the app

$ rails console

Usage

you can create a new user using the form on the link below

  • localhost:3000/users/new

_You can login on the form on the link below

  • localhost:3000/login

You can create a new post after you are logged using the form on the link below

  • localhost:3000/posts/new

Authors

👤 Ignatius Sani

👤 Tendongze Godson

🤝 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