{"id":21839803,"url":"https://github.com/rustkas/profinansy_nestjs_test_task","last_synced_at":"2026-05-07T05:36:35.789Z","repository":{"id":207881318,"uuid":"720328552","full_name":"rustkas/profinansy_nestjs_test_task","owner":"rustkas","description":"Реализация тестового задания","archived":false,"fork":false,"pushed_at":"2023-11-18T06:43:00.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-18T07:28:35.003Z","etag":null,"topics":["bcrypt","jwt","nestjs","postgres","redis","typeorm"],"latest_commit_sha":null,"homepage":"https://profinansy.net/","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/rustkas.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}},"created_at":"2023-11-18T06:14:49.000Z","updated_at":"2023-11-18T07:28:36.428Z","dependencies_parsed_at":"2023-11-18T07:38:38.816Z","dependency_job_id":null,"html_url":"https://github.com/rustkas/profinansy_nestjs_test_task","commit_stats":null,"previous_names":["rustkas/profinansy_nestjs_test_task"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustkas%2Fprofinansy_nestjs_test_task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustkas%2Fprofinansy_nestjs_test_task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustkas%2Fprofinansy_nestjs_test_task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustkas%2Fprofinansy_nestjs_test_task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustkas","download_url":"https://codeload.github.com/rustkas/profinansy_nestjs_test_task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226821804,"owners_count":17687492,"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":["bcrypt","jwt","nestjs","postgres","redis","typeorm"],"created_at":"2024-11-27T21:20:44.032Z","updated_at":"2026-05-07T05:36:30.756Z","avatar_url":"https://github.com/rustkas.png","language":"TypeScript","funding_links":["https://opencollective.com/nest","https://paypal.me/kamilmysliwiec"],"categories":[],"sub_categories":[],"readme":"# Реализация тестового задания\n\n## Описание задания:\n\nСделать простую систему авторизации/регистрации/получение информации о пользователе на Node.js. \n\n☝🏾Обязательно, чтобы фигурировал jwt токен из-за микросервисной архитектуры. Чтобы потом любые другие сервисы, зная публичный сертификат, могли валидировать токен, не обращаясь к базам. \nБаза данных для хранения пользователей - postgresql. База данных хранения сессий - Redis.\n\n☝🏾Обязательно использовать nest.js.\n\n\nДля запуска веб-сервиса в командой строке необходимо ввести \"yarn start\".\n\n## Описание резации:\n\nРелизована простая систему авторизации/регистрации/получение информации о пользователе на Nest.js.\n\nХранение данных пользователей в Postgres (предварительно созданной базе данных).\n\nХранение данных ссей в Redis.\n\n### Пути сервиса`SITE/users`:\n\n- Post `SITE/users` - создание пользователя\n\n- Get `SITE/users/:email` - получение данных о пользователе. Например, `http://localhost:3000/users/example@example.com`\n\n- Put `SITE/users/:email`  - внесение изменений в данные пользователя\n\n- @Delete `SITE/users/:email`- удаление данных о пользователе\n\n - Post `SITE/users/login`) - в пользователе в сервис\n - Post `SITE/users/logout` - завершение сессии пользователя. \n\n\nРеализовано хэширование паролей (bcrypt).\n\nСоздана стратегия, которая использует passport-jwt для извлечения и валидации JWT-токенов.\n\nРеализована защита маршрутов с помощью Guard. \n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://nestjs.com/img/logo-small.svg\" width=\"200\" alt=\"Nest Logo\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456\n[circleci-url]: https://circleci.com/gh/nestjs/nest\n\n  \u003cp align=\"center\"\u003eA progressive \u003ca href=\"http://nodejs.org\" target=\"_blank\"\u003eNode.js\u003c/a\u003e framework for building efficient and scalable server-side applications.\u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@nestjs/core.svg\" alt=\"NPM Version\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@nestjs/core.svg\" alt=\"Package License\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/~nestjscore\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/@nestjs/common.svg\" alt=\"NPM Downloads\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://circleci.com/gh/nestjs/nest\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/circleci/build/github/nestjs/nest/master\" alt=\"CircleCI\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/nestjs/nest?branch=master\" target=\"_blank\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9\" alt=\"Coverage\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.gg/G7Qnnhy\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/discord-online-brightgreen.svg\" alt=\"Discord\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/nest#backer\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/nest/backers/badge.svg\" alt=\"Backers on Open Collective\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/nest#sponsor\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/nest/sponsors/badge.svg\" alt=\"Sponsors on Open Collective\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://paypal.me/kamilmysliwiec\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Donate-PayPal-ff3f59.svg\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://opencollective.com/nest#sponsor\"  target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg\" alt=\"Support us\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/nestframework\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/nestframework.svg?style=social\u0026label=Follow\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n  \u003c!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)\n  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)--\u003e\n\n## Description\n\n[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.\n\n## Installation\n\n```bash\n$ yarn install\n```\n\n## Running the app\n\n```bash\n# development\n$ yarn run start\n\n# watch mode\n$ yarn run start:dev\n\n# production mode\n$ yarn run start:prod\n```\n\n## Test\n\n```bash\n# unit tests\n$ yarn run test\n\n# e2e tests\n$ yarn run test:e2e\n\n# test coverage\n$ yarn run test:cov\n```\n\n## Support\n\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\n\n## Stay in touch\n\n- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)\n- Website - [https://nestjs.com](https://nestjs.com/)\n- Twitter - [@nestframework](https://twitter.com/nestframework)\n\n## License\n\nNest is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustkas%2Fprofinansy_nestjs_test_task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustkas%2Fprofinansy_nestjs_test_task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustkas%2Fprofinansy_nestjs_test_task/lists"}