{"id":23065791,"url":"https://github.com/ullaskunder3/postgressql-nodejs-authentication","last_synced_at":"2025-08-27T03:16:58.266Z","repository":{"id":153852971,"uuid":"439112791","full_name":"ullaskunder3/postgresSQL-nodejs-authentication","owner":"ullaskunder3","description":"soon...","archived":false,"fork":false,"pushed_at":"2021-12-28T12:29:11.000Z","size":1173,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T05:06:12.250Z","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/ullaskunder3.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":"2021-12-16T20:02:07.000Z","updated_at":"2022-01-29T06:59:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"473e9b8e-466c-4044-9648-0251c980f3fd","html_url":"https://github.com/ullaskunder3/postgresSQL-nodejs-authentication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ullaskunder3/postgresSQL-nodejs-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2FpostgresSQL-nodejs-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2FpostgresSQL-nodejs-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2FpostgresSQL-nodejs-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2FpostgresSQL-nodejs-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ullaskunder3","download_url":"https://codeload.github.com/ullaskunder3/postgresSQL-nodejs-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2FpostgresSQL-nodejs-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272284260,"owners_count":24906851,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-16T05:10:07.807Z","updated_at":"2025-08-27T03:16:58.216Z","avatar_url":"https://github.com/ullaskunder3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Implementing authentication with nodeJs and PostgreSQL\r\n\r\n## UI using html, css\r\n\r\nexample\r\n\r\n|  Register \u0026 Login    |     Register          |\r\n|----------------------|-----------------------|\r\n|![ex1](./example1.png)| ![ex2](./example2.png)|\r\n\r\n- User flow\r\n\r\n|                        |                       |\r\n|------------------------|-----------------------|\r\n|![ex1](./example4.png)  | ![ex2](./example5.png)|\r\n![ex1](./example3.png)\r\n\r\n!BUGS __authentication__\r\n\r\nopen\r\n\r\n```bash\r\n    psql -U postgres -d postgres\r\n```\r\n\r\ncreating user\r\n\r\n```bash\r\nCREATE USER ullasDB WITH PASSWORD 'ullasdb1' CREATEDB;\r\n```\r\n\r\nconnecting to user db\r\n\r\n```bash\r\npsql -U ullasdb -d postgres\r\n```\r\n\r\ncreating database\r\n\r\n```bash\r\nCREATE DATABASE nodeuserlogin;\r\n```\r\n\r\nlisting the database\r\n\r\n```bash\r\n\\l\r\n```\r\n\r\nconnect to db\r\n\r\n```bash\r\n\\c nodeuserlogin\r\n```\r\n\r\ncreating table\r\n\r\n```bash\r\nCREATE TABLE users\r\n```\r\n\r\n```bash\r\nnodeuserlogin-\u003e (id BIGSERIAL PRIMARY KEY NOT NULL,\r\nnodeuserlogin(\u003e name VARCHAR(200) NOT NULL,\r\nnodeuserlogin(\u003e email VARCHAR(200) NOT NULL,\r\nnodeuserlogin(\u003e password VARCHAR(200) NOT NULL,\r\nnodeuserlogin(\u003e UNIQUE (email));\r\n```\r\n\r\ncheck\r\n\r\n```bash\r\nnodeuserlogin=\u003e \\d users\r\n                                     Table \"public.users\"\r\n  Column  |          Type          | Collation | Nullable |              Default\r\n----------+------------------------+-----------+----------+-----------------------------------\r\n id       | bigint                 |           | not null | nextval('users_id_seq'::regclass)\r\n name     | character varying(200) |           | not null |\r\n email    | character varying(200) |           | not null |\r\n password | character varying(200) |           | not null |\r\nIndexes:\r\n    \"users_pkey\" PRIMARY KEY, btree (id)\r\n    \"users_email_key\" UNIQUE CONSTRAINT, btree (email)\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fpostgressql-nodejs-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fullaskunder3%2Fpostgressql-nodejs-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fpostgressql-nodejs-authentication/lists"}