{"size": 335, "ext": "js", "max_stars_repo_path": "server/routes.js", "max_stars_repo_name": "MichaelRMoriarty/Swellio", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/routes.js", "max_issues_repo_name": "MichaelRMoriarty/Swellio", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/routes.js", "max_forks_repo_name": "MichaelRMoriarty/Swellio", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 37.2222222222, "max_line_length": 86, "alphanum_fraction": 0.7313432836}
const router = require('express').Router();
const { getConditions } = require('./controllers/conditions.js');
const { addUser, getAllUsers, deleteUserByPhone } = require('./controllers/users.js');

router.get('/nearby', getConditions);
router.post('/user', addUser);
router.delete('/user', deleteUserByPhone);

module.exports = router;