{"id":19522659,"url":"https://github.com/lintangwisesa/express-mongodb-authentication","last_synced_at":"2025-04-26T09:32:16.001Z","repository":{"id":56438788,"uuid":"141244695","full_name":"LintangWisesa/Express-MongoDB-Authentication","owner":"LintangWisesa","description":"A simple authentication app using Express \u0026 MongoDB ","archived":false,"fork":false,"pushed_at":"2020-11-07T17:16:59.000Z","size":602,"stargazers_count":15,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T10:38:05.467Z","etag":null,"topics":["authentication","expressjs","mongodb","mongoose"],"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/LintangWisesa.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}},"created_at":"2018-07-17T06:53:31.000Z","updated_at":"2022-10-15T20:16:29.000Z","dependencies_parsed_at":"2022-08-15T18:40:57.434Z","dependency_job_id":null,"html_url":"https://github.com/LintangWisesa/Express-MongoDB-Authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FExpress-MongoDB-Authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FExpress-MongoDB-Authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FExpress-MongoDB-Authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LintangWisesa%2FExpress-MongoDB-Authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LintangWisesa","download_url":"https://codeload.github.com/LintangWisesa/Express-MongoDB-Authentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250967326,"owners_count":21515575,"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":["authentication","expressjs","mongodb","mongoose"],"created_at":"2024-11-11T00:40:12.391Z","updated_at":"2025-04-26T09:32:15.363Z","avatar_url":"https://github.com/LintangWisesa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![simplinnovation](https://4.bp.blogspot.com/-f7YxPyqHAzY/WJ6VnkvE0SI/AAAAAAAADTQ/0tDQPTrVrtMAFT-q-1-3ktUQT5Il9FGdQCLcB/s350/simpLINnovation1a.png)\n\n# A Simple Authentication App Using Express \u0026 MongoDB\n\n![simplinnovation_exp_auth](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSUFxJ1ez-eBv_9E3dctQFS0Sq-5E0b3uT3_ptUXYLoXvNUYJH2)\n\n#### 1. Activate your MongoDB server, then create a database, database user \u0026 collection on MongoDB:\n\n```shell\n  $ use signin\n\n  $ db.createUser({user: 'lintang', pwd: '1234', roles: ['readWrite', 'dbAdmin']})\n    \n  $ db.createCollection('users')\n```\n\n#### 2. Clone the project from my repo:\n\n```shell\n  $ git clone https://github.com/LintangWisesa/Express-MongoDB-Authentication.git\n```\n\n#### 3. Go to the repo then install all packages needed:\n\n```shell\n  $ cd Express-MongoDB-Authentication\n\n  $ npm install\n```\n\n#### 4. Edit Express app route on _routes/router.js_! Make sure there is no error on your app by running _app.js_. Server will be running by default on localhost:3210!\n\n```shell\n  $ node app\n```\n\n#### 5. Open *localhost:3210* via browser. If everything goes well, the response will be similar to the picture below:\n\n![simplinnovation_auth1](\nhttps://raw.githubusercontent.com/LintangWisesa/Express-Authentication/master/picture/auth1.png)\n\n#### 6. Try to signup, check on your database, then try to login. Have fun :sunglasses: !\n\n![simplinnovation_auth2](\nhttps://raw.githubusercontent.com/LintangWisesa/Express-Authentication/master/picture/auth2.png)\n\n![simplinnovation_auth3](\nhttps://raw.githubusercontent.com/LintangWisesa/Express-Authentication/master/picture/auth3.png)\n\n![simplinnovation_auth4](\nhttps://raw.githubusercontent.com/LintangWisesa/Express-Authentication/master/picture/auth4.png)\n\n![simplinnovation_auth5](\nhttps://raw.githubusercontent.com/LintangWisesa/Express-Authentication/master/picture/auth5.png)\n\n#\n\n#### Lintang Wisesa :love_letter: _lintangwisesa@ymail.com_\n\n[Facebook](https://www.facebook.com/lintangbagus) | \n[Twitter](https://twitter.com/Lintang_Wisesa) |\n[Google+](https://plus.google.com/u/0/+LintangWisesa1) |\n[Youtube](https://www.youtube.com/user/lintangbagus) | \n:octocat: [GitHub](https://github.com/LintangWisesa) |\n[Hackster](https://www.hackster.io/lintangwisesa)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintangwisesa%2Fexpress-mongodb-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flintangwisesa%2Fexpress-mongodb-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flintangwisesa%2Fexpress-mongodb-authentication/lists"}