GithubHelp home page GithubHelp logo

cyrus-kiprop / rails-authentication Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 61 KB

Rails authentication and protection of routes and views.

License: MIT License

Ruby 72.07% JavaScript 1.32% CoffeeScript 0.66% CSS 2.50% HTML 23.44%

rails-authentication's Introduction

Ruby On Rails Authentications

Version License: MIT Twitter: kipropJS

Description of the project

The project involves creation of a clubhouse website(twitter like in functionality) in rails. The app implements authentication in rails. The used technique in this app is authentication using rails Devise gem.

**The project contain database models and schemas that model the user and the post object. visit The Odin Project 'Members Only' for the full project specifications.

⭐️ Built with

  • Ruby,
  • Ruby on Rails,
  • Rails authentication Devise gem here
  • SQL lite as the default database
  • vim - or favourite text editor

Dev Environment Requirements:

  • Ruby, check here for more information.

⭐️ Running the code

Instructions:

  1. Clone the members-only repo here

  2. Navigate into the root of the folder

    $ cd ./members-only
    
  3. Run bundle install to install the necessary gems:

    $ bundle install
    
  4. Install Yarn

    $ yarn install --check-files
    
  5. Migrate the DB

    $ rails db:migrate
    
  6. Run the sandboxed console to explore the database

    $ rails console --sandbox
    
  7. Run the server

    $ rails server
    
  8. First time users should register on the index page

  9. After registration, login to view, create, delete and update your posts.

  10. Non members can only view existing post but dont have create, delete and update priviledges.

Authors

👤 Cyrus Kiprop

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to leave a comment or open an issue. issues page.

Show your support

Give a ⭐️ if you like this project sanbox

📝 License

This project is MIT licensed.

rails-authentication's People

Contributors

cyrus-kiprop avatar dependabot[bot] avatar

Watchers

James Cloos 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.