Giter VIP home page Giter VIP logo

hackdays's People

Contributors

colinthecannon avatar ekerby avatar gnarlynate avatar vixdug avatar

Stargazers

 avatar

Watchers

 avatar

hackdays's Issues

User Authentication

Allow visitors to register or log in with a user account.

Collect the following information for users when registering them:

  • First name
  • Last name
  • E-mail
  • Password

Passwords should be stored as hashed strings instead of plain text so that no one can know what they are.

TIPS:

  • During registration, users must supply a password as well as password_confirmation.
  • we are not using Devise for this project
  • we are using has_secure_password gem along with the bcrypt gem. These are installed on the project, and since you have run bundle install, you have these already!
  • remember when creating controller use the bin/rails generate controller command
  • when creating model use: bin/rails generate model [fields]
  • great resource to follow: https://gist.github.com/thebucknerlife/10090014

FED: Sold out badge

Create a sold out badge when quantity is 0 that will be displayed on the front end. (remember to use branches feature/sold-out-badge

To be able to see your badge in action, change one of the products in the db/seeds.rb file to have a product with 0 quantity in stock, and then rake db:reset (recreate and reseed)

Admin Area

Create an admin section for the store owner to log in and create a product.

  • this section should be protected by HTTP basic auth as a way of securing all admin resources.

Temporary Basic Auth credentials:

  • username: "hack"
  • password: "days"

These values should be stored in your .env file

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.