{"id":17006191,"url":"https://github.com/mmraisi/fastify-jwt-typeorm","last_synced_at":"2026-04-17T15:04:28.616Z","repository":{"id":230656380,"uuid":"779897928","full_name":"mmraisi/fastify-jwt-typeorm","owner":"mmraisi","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-12T21:45:00.000Z","size":402,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T01:05:26.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmraisi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-03-31T04:51:34.000Z","updated_at":"2024-04-15T03:51:37.744Z","dependencies_parsed_at":"2024-04-15T03:51:16.784Z","dependency_job_id":"ea96a9ce-471a-47e4-9f44-effa08c1a971","html_url":"https://github.com/mmraisi/fastify-jwt-typeorm","commit_stats":null,"previous_names":["mmraisi/fastify-typeorm"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmraisi%2Ffastify-jwt-typeorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmraisi%2Ffastify-jwt-typeorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmraisi%2Ffastify-jwt-typeorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmraisi%2Ffastify-jwt-typeorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmraisi","download_url":"https://codeload.github.com/mmraisi/fastify-jwt-typeorm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244945591,"owners_count":20536296,"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":[],"created_at":"2024-10-14T05:05:12.158Z","updated_at":"2026-04-17T15:04:28.576Z","avatar_url":"https://github.com/mmraisi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fastify JWT app (TypeORM, Postgresql)\n\nNode.js project demonstrating the integration of Fastify, Fastify JWT, and TypeORM with PostgreSQL for building a robust API.\n\n## Features\n\n- Utilizes Fastify for blazing-fast web server development.\n- Implements JWT-based authentication with Fastify JWT.\n- Integrates TypeORM for seamless interaction with a PostgreSQL database.\n- Provides CRUD operations for managing resources.\n\n## Prerequisites\n\n- Node.js installed on your machine\n- PostgreSQL installed locally or accessible remotely\n- Git for cloning the repository\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   cd \u003cproject-folder\u003e\n   make install\n   ```\n\n## Usage\n\nTo start the server using Docker Compose, make sure you have Docker installed on your machine. Then, navigate to the project directory and run the following command:\n\n\u003e Install all dependencies\n```bash\nmake install\n```\n\u003e Run the postgres db in the background\n```bash\nmake db\n```\n\u003e Run the application in the foreground\n```bash\nmake start\n```\nTo run all tests:\n```bash\nmake test\n```\n\nTo stop the server and remove the containers, use the following command:\n\n```bash\nmake stop\n```\n\nTo clean up the project by removing running containers, volumes, node_modules, coverage, src/openapi.json, and dist, use the following command:\n\n```\nmake clean\n```\n\n## API Documentation\n\nTo run the docs server:\n\n\u003e [!NOTE]  \n\u003e THE `make start` will run both the server and docs, to run the docs image alone, use the following command\n\n```\nmake docs\n```\n\n\u003e You can access the OpenAPI documentation for the API at [http://localhost:8080](http://localhost:8080). This documentation provides detailed information about the available endpoints, request parameters, responses, and schemas.\n\n## Contributing\n\nContributions are welcome! If you find any issues or would like to propose enhancements, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmraisi%2Ffastify-jwt-typeorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmraisi%2Ffastify-jwt-typeorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmraisi%2Ffastify-jwt-typeorm/lists"}