├── .gitignore ├── .rspec ├── Gemfile ├── Gemfile.lock ├── README.md ├── Rakefile ├── app ├── assets │ ├── images │ │ └── .keep │ ├── javascripts │ │ └── application.js │ └── stylesheets │ │ └── application.css ├── controllers │ ├── api │ │ ├── products_controller.rb │ │ ├── sessions_controller.rb │ │ └── users_controller.rb │ ├── application_controller.rb │ └── concerns │ │ └── .keep ├── decorators │ ├── product_decorator.rb │ └── user_decorator.rb ├── helpers │ └── application_helper.rb ├── mailers │ └── .keep ├── models │ ├── .keep │ ├── auth_token.rb │ ├── concerns │ │ └── .keep │ ├── product.rb │ └── user.rb └── views │ ├── application │ ├── create.json.erb │ ├── errors.json.erb │ ├── exception.json.erb │ ├── index.json.erb │ └── show.json.erb │ └── layouts │ └── application.html.erb ├── bin ├── bundle ├── rails ├── rake └── setup ├── config.ru ├── config ├── application.rb ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── backtrace_silencers.rb │ ├── cookies_serializer.rb │ ├── filter_parameter_logging.rb │ ├── generators.rb │ ├── inflections.rb │ ├── mime_types.rb │ ├── session_store.rb │ └── wrap_parameters.rb ├── locales │ └── en.yml ├── routes.rb └── secrets.yml ├── db ├── migrate │ ├── 20150925082536_create_products.rb │ ├── 20151204094329_create_users.rb │ └── 20151204132543_create_auth_tokens.rb ├── schema.rb └── seeds.rb ├── lib ├── assets │ └── .keep ├── session.rb └── tasks │ └── .keep ├── log └── .keep ├── mlsdev-logo.png ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico └── robots.txt ├── spec ├── controllers │ ├── api │ │ ├── products_controller_spec.rb │ │ ├── sessions_controller_spec.rb │ │ └── users_controller_spec.rb │ └── application_controller_spec.rb ├── decorators │ ├── product_decorator_spec.rb │ └── user_decorator_spec.rb ├── lib │ └── session_spec.rb ├── models │ ├── auth_token_spec.rb │ ├── product_spec.rb │ └── user_spec.rb ├── rails_helper.rb └── spec_helper.rb └── vendor └── assets ├── javascripts └── .keep └── stylesheets └── .keep /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /app/controllers/api/products_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/controllers/api/products_controller.rb -------------------------------------------------------------------------------- /app/controllers/api/sessions_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/controllers/api/sessions_controller.rb -------------------------------------------------------------------------------- /app/controllers/api/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/controllers/api/users_controller.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/decorators/product_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/decorators/product_decorator.rb -------------------------------------------------------------------------------- /app/decorators/user_decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/decorators/user_decorator.rb -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/auth_token.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/models/auth_token.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/product.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/models/product.rb -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/models/user.rb -------------------------------------------------------------------------------- /app/views/application/create.json.erb: -------------------------------------------------------------------------------- 1 | <%= sanitize resource.decorate.to_json %> -------------------------------------------------------------------------------- /app/views/application/errors.json.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/views/application/errors.json.erb -------------------------------------------------------------------------------- /app/views/application/exception.json.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/views/application/exception.json.erb -------------------------------------------------------------------------------- /app/views/application/index.json.erb: -------------------------------------------------------------------------------- 1 | <%= sanitize collection.decorate.to_json %> -------------------------------------------------------------------------------- /app/views/application/show.json.erb: -------------------------------------------------------------------------------- 1 | <%= sanitize resource.decorate.to_json %> -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/bin/setup -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/generators.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/generators.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/session_store.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/config/secrets.yml -------------------------------------------------------------------------------- /db/migrate/20150925082536_create_products.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/db/migrate/20150925082536_create_products.rb -------------------------------------------------------------------------------- /db/migrate/20151204094329_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/db/migrate/20151204094329_create_users.rb -------------------------------------------------------------------------------- /db/migrate/20151204132543_create_auth_tokens.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/db/migrate/20151204132543_create_auth_tokens.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/session.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/lib/session.rb -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mlsdev-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/mlsdev-logo.png -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/public/500.html -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/public/robots.txt -------------------------------------------------------------------------------- /spec/controllers/api/products_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/controllers/api/products_controller_spec.rb -------------------------------------------------------------------------------- /spec/controllers/api/sessions_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/controllers/api/sessions_controller_spec.rb -------------------------------------------------------------------------------- /spec/controllers/api/users_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/controllers/api/users_controller_spec.rb -------------------------------------------------------------------------------- /spec/controllers/application_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/controllers/application_controller_spec.rb -------------------------------------------------------------------------------- /spec/decorators/product_decorator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/decorators/product_decorator_spec.rb -------------------------------------------------------------------------------- /spec/decorators/user_decorator_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/decorators/user_decorator_spec.rb -------------------------------------------------------------------------------- /spec/lib/session_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/lib/session_spec.rb -------------------------------------------------------------------------------- /spec/models/auth_token_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/models/auth_token_spec.rb -------------------------------------------------------------------------------- /spec/models/product_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/models/product_spec.rb -------------------------------------------------------------------------------- /spec/models/user_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/models/user_spec.rb -------------------------------------------------------------------------------- /spec/rails_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/rails_helper.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MLSDev/E-commerce-API/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------