Simple Node Rest Service.. in JavaScript or CoffeeScript
Ngân sách $30-250 USD
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
Được trao cho:
6 freelancer chào giá trung bình$209 cho công việc này
Ready to get the sample project done for you once you give me the go to start the work Thanks, Jiby Jose
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
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
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