Đã hoàn thành

Simple Node Rest Service.. in JavaScript or CoffeeScript

So I have a Large project for a location based social network, but first I need to find someone with very good experience in JavaScript/Coffeescript & Hypermedia APIs and later Geo-Map APIs

Here is a very simple/basic project to check if your right for this project. A Node server that saves/gives places via a web api *no HTML.

+ Unit-testing, Promises & Docs (Needed!) See below links

You could start building on top of this:

[url removed, login to view]

[url removed, login to view]

Promises:

[url removed, login to view]

UnitTesting:

[url removed, login to view]

!! each function should have 1 test for good input & 2 for bad input, for EVERY 10 lines !!

So a function with 18 line(rounded to 20) should have 6 tests(2 Good input & 4 Bad input)

>> Max Lines in a file; function: 25 Lines / Each file: 250 lines

Docs:

[url removed, login to view]

Code Style:

[url removed, login to view]

Spce: ALL/ONLY VIA REST API

1) create a place: PUT > /place

2) update a place: PATCH > /place/...ID#

3) delete a place: DELETE > /place/...ID#

4) find place with in #km of Lat/long: GET > /find?lat=0.0&long=0.0&km=1

[url removed, login to view]

5) api info: OPTIONS > /place and /find

Using HTTP Methods for RESTful Services

[url removed, login to view]

E.g. place values to save in noSQL

Set in request

name=""

info =""

lat=0.0

long=0.0

Set by Server

createdTime = [url removed, login to view]

deleted = (null) or (the timeStamp from server when delete was set)

id = 5char in based 32encoding *Caps [url removed, login to view]

[url removed, login to view]

changeLog = An array indexed with the UTC_Unix time of update: Each index, has an object that holds the OLD values, replaced in that update.

Example:

>> method:PUT

url:[url removed, login to view]

parameter_name_1:name

parameter_value_1:Home

parameter_name_2:info

parameter_value_2:where i lay my head

parameter_name_3:lat

parameter_value_3:40.714623

parameter_name_4:long

parameter_value_4:[url removed, login to view]

<< 201: HTTP_BODY{Created <a href="[url removed, login to view]">Home</a>}

>> method:PATCH

url:[url removed, login to view]

parameter_name_1:info

parameter_value_1:where i lay my hat

<< 200:HTTP_BODY{Updated <a href="[url removed, login to view]">Home</a>}

>> method:PATCH

url:[url removed, login to view]

<< 404:HTTP_WARNING "000XXX was not found"

>> method:PATCH

url:[url removed, login to view]

parameter_name_1:test

parameter_value_1:test

<< 400:HTTP_WARNING "Could not find any valid parameters"

Result in DB

{

id="A43CP",

name = "Home",

info = "where I lay my hat",

locs[40.714623,[url removed, login to view]],

createdTime = 1399492187,

deleted = NULL,

changeLog[

1399492361:{ info = "where i lay my head"

}

]

}

>> method:DELETE

url:[url removed, login to view]

<< 200

Result in DB

{

id="A43CP"

name = "Home",

info = "where I lay my hat",

locs[40.714623,[url removed, login to view]],

createdTime = 1399492187,

deleted = 1399521876,

changeLog[

1399492361:{ info = "where i lay my head"

}

]

}

>> method:GET

url:[url removed, login to view]

<< 404:HTTP_WARNING "A43CP Has been deleted"

>> method:PATCH

url:[url removed, login to view]

<< 403:HTTP_WARNING "A43CP Has been deleted"

If this goes well.. I will have a LOT more work.

I look forward to seeing what you can do,

-Brian

Kĩ năng: Node.js, NoSQL Couch & Mongo, Kiểm tra kỹ thuật tự động

Xem nhiều hơn: where can i get javascript, what is mongodb, web server in javascript, web framework top 10, web based tutorials, tutorials on testing, tutorials max, top tutorials, test my javascript, style your head, social service com, set tutorials, set bit in c, set a bit in c, restful find, network testing services, network apis, mongo service, max 5 tutorials, manual testing work from home

Về Bên Thuê:
( 7 nhận xét ) Dublin, Italy

ID dự án: #5918885

Được trao cho:

c4e8

I have the necessary skills and experience for this kind of project. [login to view URL]

$133 USD trong 3 ngày
(2 Đánh Giá)
2.7

6 freelancer chào giá trung bình$209 cho công việc này

codefield

Hi! We started to working on your project right now, by Monday we expect to have a published version of the API so you can test it and check that we are good and experienced doing this kind of projects. If choose Thêm

$215 USD trong 3 ngày
(1 Nhận xét)
4.9
jibyjose001

Ready to get the sample project done for you once you give me the go to start the work Thanks, Jiby Jose

$242 USD trong 3 ngày
(4 Nhận xét)
4.9
geniousPHP

Hi there, I'm a node.js developer and I'm very familiar with RESTful API and Unit testing. I can write clean code respecting all your norms. Thanks

$250 USD trong 3 ngày
(8 Nhận xét)
4.0
NomikOS

Hi Brian. I have been learning mean stack in my free time since about 3 months now. Mainly through [login to view URL] implementation and now with [login to view URL], that it is a fork started for the real brains behind [login to view URL] work. I re Thêm

$222 USD trong 3 ngày
(0 Nhận xét)
0.0
starcoadmin

Hello, I have reviewed your project posting and are very much excited to assist you in your project. I would appreciate if we can connect over private message or other medium to discuss about the project and provid Thêm

$189 USD trong 5 ngày
(0 Nhận xét)
0.0