{"id":16151708,"url":"https://github.com/felipeorlando/secretsanta","last_synced_at":"2026-04-11T14:03:22.521Z","repository":{"id":144834656,"uuid":"116491900","full_name":"felipeorlando/secretsanta","owner":"felipeorlando","description":"🎅 SecretSanta - MEAN with bg jobs and JWT auth","archived":false,"fork":false,"pushed_at":"2018-08-22T08:37:47.000Z","size":541,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-05T19:29:39.573Z","etag":null,"topics":["angularjs","express","jwt","mailgun","mean","mongodb","redis"],"latest_commit_sha":null,"homepage":"https://github.com/felipeorlando/secretsanta","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipeorlando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-06T15:03:27.000Z","updated_at":"2018-10-01T01:29:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"63763a5d-d61d-4e0a-bf2e-ddeef990c819","html_url":"https://github.com/felipeorlando/secretsanta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felipeorlando/secretsanta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeorlando%2Fsecretsanta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeorlando%2Fsecretsanta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeorlando%2Fsecretsanta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeorlando%2Fsecretsanta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipeorlando","download_url":"https://codeload.github.com/felipeorlando/secretsanta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeorlando%2Fsecretsanta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angularjs","express","jwt","mailgun","mean","mongodb","redis"],"created_at":"2024-10-10T00:58:37.982Z","updated_at":"2026-04-11T14:03:22.491Z","avatar_url":"https://github.com/felipeorlando.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# secretsanta 🎄\n\nThis is as simple manager for CRUD users (admin) and persons, to match each person with a friend, aka SecretSanta game. 🎅\n\n## Requirements\n\n- Node 8.9.4\n- Nodemon\n- Mongo DB\n- Redis\n\n## How to run\n\n**API:**\n```\n\u003e cd ./api\n\u003e npm run dev\n```\n\n**CLIENT:**\n```\n\u003e cd ./client\n\u003e npm start\n```\n\n**Obs:** \n- Set Mailgun key to API send emails on `api/configs/index.js`\n- Set API URL for client on `client/src/config/app.constants.js`\n\n## API Endpoints\n\n**Users:**\n```\nGET    /users     :: Return all users\nGET    /users/:id :: Get an user by _id registered\nPOST   /users     :: Create an user with params (name, email, password) \nPUT    /users/:id :: Update an user with _id passed params (name, email, password)\nDELETE /users/:id :: Delete an user by _id\n```\n\n**Persons:**\n```\nGET    /persons     :: Return all persons\nGET    /persons/:id :: Get an person by _id registered\nPOST   /persons     :: Create an person with params (name, email) \nPUT    /persons/:id :: Update an person with _id passed params (name, email)\nDELETE /persons/:id :: Delete an person by _id\n```\n\n**Auth:**\n```\nPOST /login :: Returns JWT if params (email, password) matches with a registered user \nPOST /check :: Return if a token is valid\n```\n\n\u003ch6 align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/felipeorlando/license/blob/master/MIT.md\"\u003eMIT\u003c/a\u003e\n\t©\n\tFelipe Orlando\n\u003c/h6\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeorlando%2Fsecretsanta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipeorlando%2Fsecretsanta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeorlando%2Fsecretsanta/lists"}