Write a simple node.s controller example

I have started a small project on node.js with MongoDB and have implemented some routes and controllers, but i am having problems with one controller that is used to do a search on attributes.

The Controllers to be implemneted is a GET and can contain or not a query


My documets contains 3 attributes (2 arrays of string and string), and i need to check if the atribute contains a certain word .

The query can look up on one atribute (for exemple only name) or on and all 3.

If the query is not present, it should return just all the documents.

I have attached the sample of my code, and a small sample of JSON for documnt.

Evner: Express JS, node.js, NoSQL Couch & Mongo

Se mere: express js model view controller, express router tutorial, node js express tutorial, node js routes in separate file, express controller example, node js controller example, express router example, express controllers vs routes, can i hire a speechwriter to write my mother's eulogy, i want to write my mother's life story, i need to write s book but i need a writer, simple php twitter code example, write simple bid, write simple programs excel, write simple proxy php, write simple program, simple press return continue example, simple javascript form validate example mootools, use net write simple browser, write simple excel program

Om arbejdsgiveren:
( 32 bedømmelser ) Aver o Mar, Portugal

Projekt ID: #17329611

Tildelt til:


Have 2 years experience working with Node.js. It's both the controller and route logic which can be modified in order to achieve you goal. Will finish the job ASAP.

€14 EUR på 1 dag
(7 bedømmelser)

3 freelancere byder i gennemsnit €23 på dette job

€34 EUR in 3 dage
(19 bedømmelser)

Dear sir! I read your document. I have much experience with node.js. I can do it. Thanks. Sincerely.

€20 EUR på 1 dag
(4 bedømmelser)