smarthutza / week6-ammpazon Goto Github PK
View Code? Open in Web Editor NEWAMMPazon analytics for store owners
AMMPazon analytics for store owners
Please amend the test queries to add UPPER case appropriately, it will enhance readability.
Great Work on testing it!
Query different routes
I know, I know.....It has to be said, though
Would be nice to have the travisCI/ codecov buttons in readme so I can easily see these stats
I know that it works but please check how to correctly use env2 module.
export DB_URL=url
For your next project, I'd like to see a greater separation of concerns in your commits. Many of them covered a number of issues. Try to keep them granular, remember the ideal is one commit per pomodoro
Also, the commit history shows slightly uneven involvement in making commits - try to make sure you switch drivers regularly and share around the making of commits and the job of merging things in
It would be confidence inspiring if there was some indication that a request is being made after you select from the dropdown options, even if it's just a bit of code that says 'Retrieving data...'
This will be more relevant as you develop the front-end, but you're still putting stuff onto the dom so you should include tests for that
To update the form action attribute
Combined with points raised in #51 this is confusing
Is this only testing what you get back from the db, or is it all backend tests?
Correct me if I'm wrong, but I don't think you need the if / else control flow here. You can just call handlerCallback(err, res)
.
If there is an error the rest of your code should check for it first and ignore the res
(which will be null
or empty anyway) and if there's no error it'll be null
anyway so you can just pass both variables straight through.
There is no script to run code cov
Check out your tests as some are failing - but so awesome to see that you are writing tests! Please cover this in presentations. I bet everyone can learn from this.
In your database_queries.js you export the whole query
object but as far as I can see the only think you use in the rest of the app is getData
.
Since you've done a nice job of only giving the rest of the app a single point through which to interface with the database, you don't need to export the whole query
object.
In fact, the object doesn't need to exist at all. I would move the queries
object up to the top level of the file and make getData
a plain function (which you then export), rather than making them both part of an object - getData
is the only big of the file that the rest of the app needs to know about so only export it.
I can tab onto the select list but once I press down for the possible selections, chromevox does not tell me what they are. You'll need to use labels so the options are read out.
Hey team. I'm super impressed that you have set up tests for your database. I don't think any of us managed that in FAC9 so total kudos. It shows a really good understanding of what is going on under the hood that you have done this.
Some things to note:
You don't have to change it to es5 but be aware that without compiling your website won't work in all browsers.
Your code seems pretty robust to me so struggling to find much at the moment!
Handlers file line 26 for favicon not being used. Include one of a motorbike :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.