Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Pulkit Singhal
    @pulkitsinghal
    Write bug-free apps with Protractor
    Ari Lerner, the author of ng-book is giving a 2-day online course on testing Angular Apps with Protractor. Use the code "NGNEWSLETTER" to get $100 off the price
    I can't justify the company paying for this learning on behalf of interns yet ... So it's just voluntary for now for those whom this skill has long term benefits and makes sense pay on their own
    Pulkit Singhal
    @pulkitsinghal
    @YanLiang1102 - yeah its pretty awesome how protractor was built by the angular team with testing in mind
    YanLiang
    @YanLiang1102
    @pulkitsinghal yep it is pretty cool, how is going pulkit?
    Pulkit Singhal
    @pulkitsinghal
    @YanLiang1102 - I tried moving from our memory based LoopBack connector to a real database connector and it going horribly, I feel like LoopBack may not have been a good choice for our stack if I will hit a wall with every single step :(
    But life goes on
    YanLiang
    @YanLiang1102
    @pulkitsinghal , I c that is the problem u told me before that you have trouble with~~~h,mmmm
    Pulkit Singhal
    @pulkitsinghal
    @sameeri - this is our public chat room, lets talk about how/where you would liek to get started
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    I can get started anywhere.
    :)
    Thanks for including me.
    For starters i would like any direction, understand your stack and see where i can help.
    Pulkit Singhal
    @pulkitsinghal
    @sameeri - how about a bit of inquisitive learning to start? For example clone the project and try to run it, see how much you can guess at (that's isn't spelled out) and where ever needed or wanted, ask for clues and next steps that I'll happily provide?
    Pulkit Singhal
    @pulkitsinghal
    did you already have a chance to go through the codio loopback tutorial i prepared? if anything is blockign your from takign that ... do let me know so i can unblock u
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    Pulkit will do. Thanks!
    It looks like you are referring to the warehouse application and you have a set of support tools that you have built like the vend-tools cli.
    Your stack is angular + loopback + mongodb with bower, grunt, and the yeoman workflow. You have some issues on the repo.
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    Although the README mentions grunt test and grunt test:e2e, i do not see tests in your project structure so i could read them.
    Anyway, will run and see how things will go. It might be a little while cause i am working on some of my own stuff.
    I havent cloned the project. This is just an observation from the code, project structure
    Thanks again. Also, correct me if i am wrong in my assumptions. Best!
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    I have played around with loopback some earlier, cause i work on Express, Hapi etc.
    And loopback is a wrapper over express. I was initially interested in the loopback-connector for elastic search you wrote when i approached you. Cause i have not worked with Elastic search and was interested in the thought process. I found your repo and will ask any questions i have.
    Pulkit Singhal
    @pulkitsinghal
    @sameeri - yup your analysis is correct
    There was a non open source module from which warehouse was forked therefore tests haven't yet been added but may be sitting around in the inherited grunt file and readme
    If you want to start on understanding elastic search and how LoopBackjs' connector framework fit into the picture that's great because it's much more atomic than the warehouse project
    The commits should be good source of seeing step by step what was added for the ES connector and also I have left plenty of comments
    Once you catch up you could test out some of the ES PRs and confirm they work as intended or not ... to contribute to that project
    as a reviewer if u want
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    Awesome.
    I will go ahead and express my heart out. It's very heartening to see your spirit in wanting to teach, learn. It's super Awesome. <3
    Pulkit Singhal
    @pulkitsinghal
    heh, i tend to burn people out so please be careful and watch your gas tank
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    Just stomped out at the moment..
    Haha
    Have a fantastic day!
    I also have a tendency to question, rebel in my learning.. :)
    Sameeri Pavan Kumar Marryboyina
    @sameeri
    For instance, the warehouse project. Has this been generated by "yo angular"? I mean did you use the generator-angular to boot this project up?
    Pulkit Singhal
    @pulkitsinghal
    @sameeri - the ancestor of the warehouse project at some point in time long ago ... yes was generated using a yo template ... most likely angular ... but a lot has been manually moved around since then as loopback came into the picture
    SHIV KUSHWAHA
    @kushwahashiv
    what is the password to login to shoppingPal
    SHIV KUSHWAHA
    @kushwahashiv
    I need credentials for login to the shopinPal running from code
    Pulkit Singhal
    @pulkitsinghal
    @kushwahashiv - they should be setup by placing them yourself in the seed.json file
    here's a sample format /server/boot/seed.json:
    {
      "userModels": [
        {"seedWithRole": "admin", "realm": "portal", "username": "admin@shoppinpal.com", "email": "admin@shoppinpal.com", "password": "admin"},
        {"seedWithRole": "manager", "realm": "portal", "username": "bbb@shoppinpal.com", "email": "bbb@shoppinpal.com", "password": "bbb"},
        {"seedWithRole": "manager", "realm": "portal", "username": "ccc@shoppinpal.com", "email": "ccc@shoppinpal.com", "password": "ccc"}
      ],
      "storeConfigModels": [
        {
          "name": "Vend Test Account",
          "posVendor": "vend",
          "posUrl": "https://<your.vendhqsubdomain>.vendhq.com",
          "vendAccessToken":"<get from your vendhq.com account>",
          "vendRefreshToken":"<get from your vendhq.com account>",
          "currencyCode": "USD",
          "productImportRules": {
            "op":"AND",
            "rules":[
              {
                "applyTo":"inventory",
                "condition":"greaterThan",
                "field":"count",
                "values":["0"]
              },
              {
                "condition": "doesNotExist",
                "field": "variant_parent_id"
              },
              {
                "condition":"doesNotContainSubString",
                "field":"image",
                "skipIfFieldExists": "variant_parent_id",
                "values":[
                  "images/placeholder/product/no-image-white-original.png",
                  "images/placeholder/product/no-image-white-thumb.png",
                  "images/placeholder/uploading/uploading-white-original.gif",
                  "images/placeholder/uploading/uploading-white-thumb.gif"
                ]
              }
            ]
          },
          "supplierModels": [
            {
              "name": "Vend",
              "apiId": "<get from your vendhq.com account>"
            }
          ],
          "storeModels" : [
            {
              "name": "Lavish Apparel",
              "api_id": "<get from your vendhq.com account>",
              "country": "US",
              "managerAccount": {
                "email": "bbb@shoppinpal.com",
                "password": "bbb"
              }
            },
            {
              "name": "ShoppinPal OKC",
              "api_id": "<get from your vendhq.com account>",
              "country": "US",
              "managerAccount": {
                "email": "ccc@shoppinpal.com",
                "password": "ccc"
              }
            }
          ],
          "teamAdmin": {
            "seedWithRole": "admin",
            "realm": "portal",
            "username": "admin@shoppinpal.com",
            "email": "admin@shoppinpal.com",
            "password": "admin"
          }
        }
      ]
    }
    Mohammad Abdurraafay
    @mohdabdurraafay
    @kushwahashiv where you able to clone and successfully run it via docker on you local machine? I couldn't..
    Mohammad Abdurraafay
    @mohdabdurraafay
    Just added a seed.json as mentioned above. But still no luck signing in.
    how do I make sure that the file is being read?
    @pulkitsinghal ^^
    Pulkit Singhal
    @pulkitsinghal
    @mohdabdurraafay - i can screen share with you over skype or google hangouts, if you are interested then direct message me on gitter