####Search for sightings of Pokemon near a position
BASEURL/sightings/@longitude,latitude(,distance)(,pokemon)
####Add a Pokemon sighting with a post request
BASEURL/sightings/
*The post body must be in JSON form*
Example Format...
{
"name": "charizard",
"location":
{
"type": "Point",
"coordinates": [-118.4955084, 34.0175467]
}
}
- Clone git repository
- Open Project
- run “npm install” from command line
- “npm run-script setup” will setup a default TownMap database in MongoDB with all 151 pokemon
- “npm start” should run the program
- Store locations in barebones MongoDB ✅
- Create get route for retrieving pokemon by number ✅
- Create get route for retrieving pokemon by type
- Create get route for retrieving pokemon by radius
- Add Timestamps for sorting by time
- Device/user tracking (for shit-heads)
- User accounts