{"id":18771276,"url":"https://github.com/prititi/assignment","last_synced_at":"2025-10-08T21:01:44.165Z","repository":{"id":171863535,"uuid":"648520139","full_name":"prititi/Assignment","owner":"prititi","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-04T17:23:07.000Z","size":1009,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T07:44:50.802Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/prititi.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":"2023-06-02T06:57:09.000Z","updated_at":"2023-06-03T11:32:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c2911cd-dc11-403a-9b8f-bf232afc9697","html_url":"https://github.com/prititi/Assignment","commit_stats":null,"previous_names":["prititi/assignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prititi%2FAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prititi%2FAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prititi%2FAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prititi%2FAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prititi","download_url":"https://codeload.github.com/prititi/Assignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239678249,"owners_count":19679231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T19:24:06.197Z","updated_at":"2025-10-08T21:01:44.159Z","avatar_url":"https://github.com/prititi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is the assignment of pococare and i have to built front-end and back-end both.\n\n### Install npm Packages\n\n```javascript\nnpm i --global\n```\n\n\n\n### Run Server\n```javascript\nnpx nodemon index.js\n```\n### Runs the project in the development mode\n\n[http://localhost:8500](http://localhost:8500)\n\n\n## Run\n\nTo run this application, you have to set your own environmental variables. For security reasons, some variables have been hidden from view and used as environmental variables with the help of dotenv package. Below are the variables that you need to set in order to run the application:\n\n\n\n## NPM Packages\n\u003cp align = \"center\"\u003e\n\u003cimg src=\"https://repository-images.githubusercontent.com/139898859/9617c480-81c2-11ea-94fc-322231ead1f0\" alt=\"bcrypt.png\" width=\"70\" height=\"50\"/\u003e\n\u003cimg src=\"https://github.com/faraz412/cozy-passenger-4798/blob/main/Frontend/Files/cors.png?raw=true\" alt=\"cors\" width=\"70\" height=\"50\"/\u003e\n\u003cimg src=\"https://github.com/faraz412/cozy-passenger-4798/blob/main/Frontend/Files/download.png?raw=true\" alt=\"dotenv\" width=\"60\" height=\"50\"/\u003e\n\u003cimg src=\"https://github.com/faraz412/cozy-passenger-4798/blob/main/Frontend/Files/JWT.png?raw=true\" alt=\"jwt\" width=\"70\" height=\"50\"/\u003e\n\u003cimg src=\"https://4008838.fs1.hubspotusercontent-na1.net/hubfs/4008838/mogoose-logo.png\" alt=\"mongoose.png\" width=\"70\" height=\"70\"/\u003e     \n\u003cimg src=\"https://i0.wp.com/community.nodemailer.com/wp-content/uploads/2015/10/n2-2.png?fit=422%2C360\u0026ssl=1\" alt=\"nodemailer\" width=\"50\" height=\"70\"/\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/13700/35731649-652807e8-080e-11e8-88fd-1b2f6d553b2d.png\" alt=\"nodemon.png\" width=\"50\" height=\"50\"/\u003e\n\n\u003c/p\u003e\n   \n   \n## API Endpoints\n   #### Welcome\n```javascript\nGET  / \n```\n  #### /user\n \n```javascript\n\n\n\n```\n#### User \n```javascript\nonlt admin and super admin can acces this route\nGET /user/all  \nPOST  /user/register\nPOST  /user/login\nGET /user/logout\nPATCH /user/update:id\nDELETE /user/update:id\n\n#### user Body\n{\n \n  name: String,\n  email: String,\n  password: String,\n  role: user ,seller: String\n}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprititi%2Fassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprititi%2Fassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprititi%2Fassignment/lists"}