{"id":19136736,"url":"https://github.com/wasswarichard/jwt-nestjs-postgresql-sequelize-docker","last_synced_at":"2026-04-13T04:09:23.578Z","repository":{"id":218974077,"uuid":"747810984","full_name":"wasswarichard/jwt-nestjs-postgresql-sequelize-docker","owner":"wasswarichard","description":"Daily Express App - nest postgresql sequelize docker","archived":false,"fork":false,"pushed_at":"2024-01-28T16:58:51.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-13T04:20:56.882Z","etag":null,"topics":["aws","aws-ec2","aws-s3","crone-job","cronexpression","docker","jest","jwt-authentication","jwt-bearer-tokens","nestjs","node","postgresql","rest-api","sequelize"],"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/wasswarichard.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}},"created_at":"2024-01-24T17:27:33.000Z","updated_at":"2024-03-22T02:07:23.000Z","dependencies_parsed_at":"2024-01-28T18:05:38.030Z","dependency_job_id":null,"html_url":"https://github.com/wasswarichard/jwt-nestjs-postgresql-sequelize-docker","commit_stats":null,"previous_names":["wasswarichard/nest-postgresql-sequelize-docker","wasswarichard/jwt-nestjs-postgresql-sequelize-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wasswarichard/jwt-nestjs-postgresql-sequelize-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasswarichard","download_url":"https://codeload.github.com/wasswarichard/jwt-nestjs-postgresql-sequelize-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31739130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T03:27:07.512Z","status":"ssl_error","status_checked_at":"2026-04-13T03:26:53.610Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["aws","aws-ec2","aws-s3","crone-job","cronexpression","docker","jest","jwt-authentication","jwt-bearer-tokens","nestjs","node","postgresql","rest-api","sequelize"],"created_at":"2024-11-09T06:35:27.178Z","updated_at":"2026-04-13T04:09:23.561Z","avatar_url":"https://github.com/wasswarichard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\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# NestJS Authentication Application with JWT\n\nThis is a NestJS application that provides a basic authentication system. The application exposes a few endpoints for user registration, login, users and posts.\n\nThe application uses PostgreSQL for user data persistence. JWT is used for authentication and token generation.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- You have installed the latest version of [Docker](https://www.docker.com/) and [Docker Compose](https://docs.docker.com/compose/).\n\n## Running the Application\n\n### Docker\n\nTo run the application, follow these steps:\n\nBuild and run the Docker containers:\n```docker-compose up --build -d``` the api runs on `http://localhost:3000/`\n\n\n## API Endpoints\n\nThe application exposes the following endpoints:\n\n- `POST /auth/register`: Register a new user.\n- `POST /auth/login`: Authenticate a user and return access token.\n- `POST /posts`: creates user post.\n- `GET /posts`: returns associated user private and public posts.\n- `GET /posts/:id`: returns a single post.\n- `PATCH /posts/:id`: updates a user post.\n- `DELETE /posts/:id`: removes a user post.\n- `GET /users`: returns registered users.\n- `GET /users/:id`: returns registered user by id.\n- `PATCH /users/:id`: updates user by id.\n- `DELETE /users/:id`: deletes user by id.\n\n## Environment Variables\n\nThe application uses the following environment variables for configuration:\n- `POSTGRES_HOST=daily_express_postgres` the postgres database docker container.\n- `POSTGRES_PORT`\n- `POSTGRES_USER `\n- `POSTGRES_PASSWORD`\n- `POSTGRES_DATABASE`\n- `JWT_SECRET`\n- `AWS_S3_REGION `\n- `AWS_ACCESS_KEY_ID `\n- `AWS_SECRET_ACCESS_KEY`\n- `S3_BUCKET`\n\n## License\n\nThis project uses the following license: [MIT License](\u003clink\u003e).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasswarichard%2Fjwt-nestjs-postgresql-sequelize-docker/lists"}