{"id":18469990,"url":"https://github.com/detronetdip/sylvr-internship-project","last_synced_at":"2026-04-11T13:05:36.883Z","repository":{"id":179851866,"uuid":"663663890","full_name":"detronetdip/sylvr-internship-project","owner":"detronetdip","description":"This is a sample application that provides a login and registration functionality with authentication using JWT tokens and password hashing using the bcrypt crypto library. The application is Dockerized, allowing for easy deployment and scalability.","archived":false,"fork":false,"pushed_at":"2023-07-09T10:39:38.000Z","size":220,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T00:08:25.275Z","etag":null,"topics":["authentication","docker","jwt","mongodb","nodejs","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/detronetdip.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-07-07T20:30:15.000Z","updated_at":"2023-07-10T10:30:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"b56d496f-2b1b-43fe-9a64-f51a54dbffe1","html_url":"https://github.com/detronetdip/sylvr-internship-project","commit_stats":null,"previous_names":["detronetdip/sylvr-internship-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detronetdip%2Fsylvr-internship-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detronetdip%2Fsylvr-internship-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detronetdip%2Fsylvr-internship-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detronetdip%2Fsylvr-internship-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/detronetdip","download_url":"https://codeload.github.com/detronetdip/sylvr-internship-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166520,"owners_count":21864482,"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","docker","jwt","mongodb","nodejs","react"],"created_at":"2024-11-06T10:12:20.136Z","updated_at":"2025-12-30T23:05:00.772Z","avatar_url":"https://github.com/detronetdip.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Login and Registration Application with Docker\n\nThis is a sample application that provides a login and registration functionality with authentication using JWT tokens and password hashing using the bcrypt crypto library. The application is Dockerized, allowing for easy deployment and scalability.\n\n# Setup and Running the Application\n\nTo set up and run the application, follow these steps:\n\n- Clone the repository:\n\n  ```bash\n  git clone \u003crepository_url\u003e\n  ```\n\n- Navigate to the project directory:\n\n  ```bash\n  cd sylvr-internship-project\n  ```\n\n- Start the application using Docker Compose:\n  `bash\ndocker compose up -d\n`\n  **if the command shows any error try the below one**\n\n```bash\ndocker-compose up -d\n```\n\nThe Docker Compose file will orchestrate the building and running of both the backend and frontend services. The services will be automatically connected and the application will be available at `http://localhost:3001`\n\n# API\n\n### User Registration:\n\n| Method | Endpoint         | Authentication |\n| ------ | ---------------- | -------------- |\n| POST   | `/auth/register` | Not needed     |\n\n| Parameter | type   | required |\n| --------- | ------ | -------- |\n| firstName | string | true     |\n| lastName  | string | true     |\n| email     | string | true     |\n| password  | string | true     |\n\n### User Login:\n\n| Method | Endpoint      | Authentication |\n| ------ | ------------- | -------------- |\n| POST   | `/auth/login` | Not needed     |\n\n| Parameter | type   | required |\n| --------- | ------ | -------- |\n| email     | string | true     |\n| password  | string | true     |\n\n### Refresh Token:\n\n| Method | Endpoint        | Authentication |\n| ------ | --------------- | -------------- |\n| POST   | `/auth/refresh` | Not needed     |\n\n| Parameter    | type   | required |\n| ------------ | ------ | -------- |\n| refreshToken | string | true     |\n\n### Details of Logged in user:\n\n| Method | Endpoint | Authentication |\n| ------ | -------- | -------------- |\n| GET    | `/user/` | Needed         |\n\n| Parameter | type | required |\n| --------- | ---- | -------- |\n| none      | none | false    |\n\n### Details of Logged in user:\n\n| Method | Endpoint | Authentication |\n| ------ | -------- | -------------- |\n| PATCH  | `/user/` | Needed         |\n\n| Parameter | type   | required |\n| --------- | ------ | -------- |\n| firstName | string | false    |\n| lastName  | string | false    |\n| email     | string | false    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetronetdip%2Fsylvr-internship-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetronetdip%2Fsylvr-internship-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetronetdip%2Fsylvr-internship-project/lists"}