Each assignment has its respective instructions for the setup, running, testing and submitting it.
- If you have any query then ping us on the Discord server.
Need to mention this line
"- For any other route not defined in the server return 404.Should return Route not found
as text if route is not found."
instead of "- For any other route not defined in the server return 404."
It fails during test case otherwise.
describe('GET /file/:filename', () => {
should be describe('GET /files/:filename', () => {
In Response of GET /files
we can mention explicitly that 500 status code to be returned in case of error reading directory
task 03 in which we are making usersToReturn array in order to return it as a response instead of returning it in solution it is returning the whole users array itself.
why filter the users array then if at the end it is returning users.
link
The description of all the routes has id
field as well, which is generated every time a new user is created and is unique to each user. But the test cases has no mention of the id field.
The expected response of /login
route says
Response: 200 OK with an authentication token in JSON format if successful, or 401 Unauthorized if the credentials are invalid."
But, the tests are not checking if auth code is being returned as response or not.
I would suggest, the tests to be revisited once.
In the delete route of todoServer.solution.file.js(in 02-nodejs/solutions), Value is assigned to constant variable causing an error
I have a solution for this and will be making a pull request to solve. Hey @hkirat if you find this issue please
kindly check and merge the pull request or make the changes yourself.
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.