/bauth

Rails practice / Basic authentication using bcrypt

Primary LanguageRuby

A BASIC USER AUTHENTICATION MODEL

By Bang Nguyen

Description

This is the practice of authentication using BCrypt

General Setup Instructions

  • Clone this repository
  • Install gems by running command $ bundle in the terminal
  • Open another terminal tab and type postgres to start PostgreSQL database
  • Return to first terminal tab and run rails db:create to create the databases
  • Run rails db:migrate db:test:prepare to create tables
  • Run rails db:seed to seed the database
  • Launch the Rails server by running command $ rails s in the terminal
  • Launch site by visiting localhost:3000 in browser

User Stories

As a user I want to:

  • As a user, I want to sign up, sign in and sign out.

Tech Used

  • Ruby on Rails (v. 5.0.0.1)
  • Active Record
  • PostgreSQL

License

This software is licensed under the MIT license.

Copyright (c) 2016 * Bang Nguyen *