Small business web app that allows user authentication.Admin can add, edit, delete products and delete reviews.
To access admin functionality create user with admin@admin email.
Users can add reviews.
Authentication
- The company has decided their site requires two types of accounts: basic user accounts, and administrator accounts.
- Basic users must be able to leave reviews on products/services (more info below).
- Only administrators will have the option to add, edit, or delete products/services, and delete user reviews. Landing Page
- The site needs a visually-appealing landing page with a welcome message, and basic information about the company.
- It should include navigation options for users to make their way around the site (including the login page) too. Products Page
- It also needs an area where users may view all products or services they offer.
- Admins must have an option to add new products/services.
- At the very least, each product/service should include a name, description, and price. But you're encouraged to add more properties specific to the product/service your site offers. Product Detail Page
- All users should be able to click an individual product's entry to view that particular product or service's detail page.
- The detail page should include all product/service details, including its image.
- Authenticated basic users should have an option to leave a comment or review about a product.
- Administrators should have the option to edit or delete any service or product.
- Administrators should also have the option to delete inappropriate user reviews or comments.
- Ruby Rails
- PostgreSQL
- Clone https://github.com/ahorod/small-business
- Go to small-business derictory
- Run bundle install
- Open new tab in the terminal run:
postgres
- Run
rails db:create
,rails db:migrate db:test:prepare
,rails db:seed
- To launch the application run
rails s
- Open app at http://localhost:3000.
HTML
SCSS
Bootstrap
Ruby
Ruby on Rails
Postgres SQL
Copyright (c) 2017 Anna Horodetska The website is licensed under the MIT license.