Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 8:22pm On Oct 17, 2018 |
guente02: Yours doesn't handle product update and deletion. Why so? cos the guildeline did not state that |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 8:13pm On Oct 17, 2018 |
guente02: Updated the product data structure to be consistent with the created resource.
For the sales - A sale is made up of product id, product name, price, and qty. Now if the product id doesn't exist - error. if the entered qty (tied to a product with that id) is more than we have in the store or is 0 - error for every successful checkout - the purchased product reduces and updates okay, nice!. |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 7:24pm On Oct 17, 2018 |
HolyGhostGym: aha.... ok.. I can see you have 4 items in your array.... "air-max" lol.  |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 7:08pm On Oct 17, 2018 |
HolyGhostGym: I can only see JSON here.. it that how it's meant to be? endpoints /sales /products, GET and POST requests only for now |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 7:04pm On Oct 17, 2018 |
guente02: mystoremanager.herokuapp.com/api/v1/products i think there is an error with the imgUrl props, valid input is rejected, also for the sales, i tried copying a resource you created to create another, i get error messages |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 6:12pm On Oct 17, 2018 |
guente02: I was referring to the some that would be interested. Yes I've deployed the app on there. was just kiddin o, nice one bro, mind sharing the heroku link?, i just deployed mine store-manager-storedotherokuapp.com/api/v1 change that dot to . |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 5:22pm On Oct 17, 2018 |
guente02: How about we have an NL connect on Monday. Enjoy the launch break Jollof (hopefully) together. not for some of us that love to remain anonymous offline  Have you deployed to heroku? |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 1:12pm On Oct 17, 2018 |
HolyGhostGym: Correct guy how far? How's it going? going well, about to deploy to heroku |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 1:10pm On Oct 17, 2018 |
sheygz: Please could we discuss further bro? mail: segunolaoluwa@ymail(dot)com. Thanks for your quick response. send me mail via nairaland pm |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 11:53am On Oct 17, 2018 |
datascience: The Home study ki ni. Did anyone finish it before writing the first test? you don't need to finish it, I didn't use the home study to learn sha |
Politics › Re: Nigerians Seeking Greener Pastures Abroad Hurting Our Pride, Buhari Laments by isArray: 10:14am On Oct 17, 2018 |
Says the man who visits UK for treatment, lifeless idiot |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 7:33pm On Oct 15, 2018 |
sheygz: what does the second week of bootcamp entail? Is it a continuation of the project or something else? continuation of the project, fully onsite. |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 2:30am On Oct 15, 2018 |
datascience: How much does Andela pay when accepted? around 100-150k |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 11:23pm On Oct 14, 2018 |
guente02: Your stack trace is importanta that this little snippet.
Is everything working fine in your pc? Have you installed and using babel? Because node does not understand this yet => import express from 'express'. Na only const express = require('express') e sabi. But if your use babel to run the code then all would be fine. But on a second thought the solution to this your problem is sleeping on stackoverflow. Goan wake him. i have fixed it already, it is running fine on my local computer, but when the build starts to run on travis, that error pops us, fixed already tho  |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 10:31pm On Oct 14, 2018 |
guente02: There should be an input validation middleware in your routes because you want to ensure that the data that hits your route handler is purely verified and is of the accepted type and format (You don't want to pass an underscore as an id). how do i fix this travis eerror please (function (exports, require, module, __filename, __dirname) { import express from 'express'; ^^^^^^ SyntaxError: Unexpected token import |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 10:17pm On Oct 14, 2018 |
guente02: There should be an input validation middleware in your routes because you want to ensure that the data that hits your route handler is purely verified and is of the accepted type and format (You don't want to pass an underscore as an id). i know, Joi handles input validation |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 9:42pm On Oct 14, 2018 |
Fxdrizzle For the GET you test for a 200 status, also you can test that it should return an object For the GET /id you test for a valid Id, test for status For the POST you test for valid input, test that it should return an object, also test for the property |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 9:25pm On Oct 14, 2018 |
fxdrizzle: see wahala. Meaning you have to think of every single thing that could go wrong with whatever you are testing. somethng like that, but since it is just like 5 routes we are implementing, it should not be that tough |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 9:06pm On Oct 14, 2018 |
fxdrizzle: This tdd na die sha. Is it OK if I write the code for my model and controller first, then write the test, before going on to write the code for the route that is being tested? Cus that's the only way I can make sense of the whole thing.
Cc guente02, isArray, cycle 37 homies you write your test first, then you write the code to make it pass |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 8:26pm On Oct 14, 2018 |
minions: Question : Are we using express as a framework in bootcamp abi we are to build server from scratch with just Nodejs? it's in the guidelines-express |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 5:51pm On Oct 13, 2018 |
guente02: Pretty smooth. Covering all edge cases and checking no stone is left whilst pushing for a test coverage of 100%. One really needs to have their LFA leave very few feedback so that they can tackle challenge 3 asap (when it presents itself). haha, great one man, i hope the LFA's aint that strict |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 12:42pm On Oct 13, 2018 |
guente02: Practice TDD. Test first. How is it coming along? okay thanks, it's going well, is yours going? |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 12:20am On Oct 13, 2018 |
are we writing test before the code, or the code, then the test. cc benfuleck guente02 |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 12:34am On Oct 09, 2018 |
the back end task looks quite easier than the front end |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 8:34pm On Oct 08, 2018 |
fxdrizzle: of course we are all doing the same thing. Don't be discouraged bro. We have made it this far. If it means having a couple of sleepless nights just to beat the deadline, then so be it. I like your spirit man! |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 7:57pm On Oct 08, 2018 |
bro it is all about getting the job done and learning on it, with collaboration we will achieve the main goal IanKirkby: It's not the difficulties. Its the learning curve and available time to put something together that takes a sigh out of me. Something tells me we're all doing the same thing. |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 4:11pm On Oct 08, 2018 |
guente02: I guess we are at the discretion to decide what type of products the store manages. from observations, yess |
European Football (EPL, UEFA, La Liga) › Re: Liverpool Vs Manchester City (0 - 0) On 7th October 2018 by isArray: 5:20pm On Oct 07, 2018 |
dead game |
Politics › Re: PDP NATIONAL CONVENTION 2018: Result As Announced by isArray: 12:27pm On Oct 07, 2018 |
saraki don cast oooo  |
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 2:12pm On Oct 06, 2018 |
|
Jobs/Vacancies › Re: Andela: IT Training And Job by isArray: 8:30pm On Oct 05, 2018 |
HolyGhostGym: Bros.. How far na? How's your day been? I've not seen the links o.. What do make of the freebie given after the Node Conf... git subscription* i just sent them to your mail, mehn i have enough of those github freebies that have not used sef  |
Crime › Re: Soldier Damages Man's Car And Pepper-spray him for overtaking them. by isArray: 7:43pm On Oct 05, 2018 |
police not soldier |