{"id":20802970,"url":"https://github.com/kaykeeb3/login-backend","last_synced_at":"2026-03-05T22:35:22.278Z","repository":{"id":220373880,"uuid":"751474892","full_name":"kaykeeb3/login-backend","owner":"kaykeeb3","description":"This is the backend of a login screen project, an example application for managing user authentication.","archived":false,"fork":false,"pushed_at":"2024-12-27T11:25:36.000Z","size":58,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T01:42:49.563Z","etag":null,"topics":["docker","express","jest","jwt","nodejs","postgresql","prisma"],"latest_commit_sha":null,"homepage":"","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/kaykeeb3.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,"zenodo":null}},"created_at":"2024-02-01T17:24:37.000Z","updated_at":"2024-12-27T11:27:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8b08294-623b-43a5-acf5-cf4c5127407e","html_url":"https://github.com/kaykeeb3/login-backend","commit_stats":null,"previous_names":["kayke-ti/login-backend","kaykeeb3/login-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kaykeeb3/login-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaykeeb3%2Flogin-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaykeeb3%2Flogin-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaykeeb3%2Flogin-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaykeeb3%2Flogin-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaykeeb3","download_url":"https://codeload.github.com/kaykeeb3/login-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaykeeb3%2Flogin-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30152957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","express","jest","jwt","nodejs","postgresql","prisma"],"created_at":"2024-11-17T18:39:34.182Z","updated_at":"2026-03-05T22:35:22.235Z","avatar_url":"https://github.com/kaykeeb3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Login - Backend\n\nThis is the backend of a login screen project, an example application for managing user authentication. The project is built with **Node.js**, **Express.js**, **Jest**, **Prisma**, **PostgreSQL**, and uses **JWT** for authentication.\n\n## Getting Started\n\nBefore starting, make sure you have **Docker** and **Docker Compose** installed on your system.\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/kaykeeb3/login-backend.git\ncd login-backend\nnpm install\n```\n\n### 2. Create a `.env` File\n\nCreate a `.env` file at the root of the project with the following environment variables:\n\n```bash\nDATABASE_URL=postgresql://user:password@localhost:5432/login_db\nJWT_SECRET=\n```\n\n### 3. Start Docker Compose\n\n```bash\ndocker-compose up -d\n```\n\n### 4. Install Dependencies and Run Migrations\n\n```bash\nnpm install\nnpx prisma migrate dev\n```\n\n### 5. Start the Server\n\n```bash\nnpm start\n```\n\n## Folder \u0026 File Structure\n\nThe project follows the structure below:\n\n```\n|-- src\n|   |-- controllers\n|   |   |-- authController.js\n|   |   |-- userController.js\n|   |-- middlewares\n|   |   |-- authenticationMiddleware.js\n|   |-- routes\n|   |   |-- authRoutes.js\n|   |   |-- userRoutes.js\n|   |-- services\n|   |   |-- authService.js\n|   |   |-- userService.js\n|   |-- utils\n|   |   |-- jwtUtils.js\n|   |-- app.js\n|   |-- db.js\n|-- .env\n|-- .gitignore\n|-- package.json\n|-- prisma\n|   |-- schema.prisma\n|-- tests\n|   |-- authService.test.js\n|   |-- authController.test.js\n|   |-- userController.test.js\n|-- docker-compose.yml\n|-- README.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaykeeb3%2Flogin-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaykeeb3%2Flogin-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaykeeb3%2Flogin-backend/lists"}