{"id":24603840,"url":"https://github.com/sebastianll28/express-template","last_synced_at":"2025-05-01T14:42:29.567Z","repository":{"id":250611993,"uuid":"834947615","full_name":"SebastianLl28/express-template","owner":"SebastianLl28","description":"A highly customizable and flexible template for building Express.js applications using TypeScript. This template includes a robust setup with Prisma ORM for database interactions, MySQL for data storage, Zod for schema validation, Swagger for API documentation, and Jest for testing.","archived":false,"fork":false,"pushed_at":"2024-11-30T17:32:04.000Z","size":319,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T21:23:25.963Z","etag":null,"topics":["backend","express","husky","jest","jsonwebtoken","jwt","jwt-token","mysql","mysql-database","node","nodejs","prisma","prisma-orm","supertest","swagger","swagger-ui","template","typescript","zod","zod-validation"],"latest_commit_sha":null,"homepage":"","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/SebastianLl28.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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-28T19:36:18.000Z","updated_at":"2024-11-30T17:32:07.000Z","dependencies_parsed_at":"2024-08-18T16:42:52.334Z","dependency_job_id":"788413e3-ff68-4e13-be5e-48541995dc67","html_url":"https://github.com/SebastianLl28/express-template","commit_stats":null,"previous_names":["sebastianll28/express-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianLl28%2Fexpress-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianLl28%2Fexpress-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianLl28%2Fexpress-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SebastianLl28%2Fexpress-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SebastianLl28","download_url":"https://codeload.github.com/SebastianLl28/express-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251892109,"owners_count":21660910,"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":["backend","express","husky","jest","jsonwebtoken","jwt","jwt-token","mysql","mysql-database","node","nodejs","prisma","prisma-orm","supertest","swagger","swagger-ui","template","typescript","zod","zod-validation"],"created_at":"2025-01-24T15:16:20.664Z","updated_at":"2025-05-01T14:42:29.548Z","avatar_url":"https://github.com/SebastianLl28.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Template\r\n\r\nThis is a basic template for Express applications using TypeScript. It includes configurations and tools to facilitate the development and maintenance of applications.\r\n\r\n## Technologies\r\n\r\n- **TypeScript**: For static type checking.\r\n- **Express**: Server framework for Node.js.\r\n- **Prisma**: ORM for interacting with databases.\r\n- **MySQL**: Database management system.\r\n- **Zod**: Library for data validation and schemas.\r\n- **Swagger**: Tools for API documentation and testing.\r\n- **Jest**: Framework for unit testing.\r\n\r\n## Installation\r\n\r\n1. **Clone the repository:**\r\n\r\n   ```bash\r\n   git clone https://github.com/SebastianLl28/express-template.git\r\n   cd backend\r\n   ```\r\n\r\n2. **Install dependencies:**\r\n\r\n   ```bash\r\n   pnpm install\r\n   ```\r\n\r\n3. **Configure your environment file:**\r\n\r\n   Create a `.env` file at the root of the project with your environment variables. You can use the `.env.example` file as a reference.\r\n\r\n## Scripts\r\n\r\n- **`pnpm build`**: Compiles the TypeScript project.\r\n- **`pnpm start`**: Starts the application in production mode.\r\n- **`pnpm dev`**: Starts the application in development mode with `nodemon`.\r\n- **`pnpm test`**: Runs tests with coverage.\r\n- **`pnpm lint`**: Runs the linter.\r\n- **`pnpm lint:fix`**: Fixes issues found by the linter.\r\n- **`pnpm prisma:init`**: Initializes Prisma with MySQL as the datasource provider.\r\n- **`pnpm prisma:migrate`**: Runs Prisma migrations.\r\n- **`pnpm prisma:seed`**: Resets and seeds the database with initial data.\r\n- **`pnpm prisma:studio`**: Opens Prisma Studio to manage data.\r\n\r\n## Contributing\r\n\r\n1. Fork the repository.\r\n2. Create a branch for your change (`git checkout -b my-change`).\r\n3. Commit your changes following [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) (`git commit -m 'feat: :sparkles: add new feature'`).\r\n4. Push your changes (`git push origin my-change`).\r\n5. Create a Pull Request.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastianll28%2Fexpress-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastianll28%2Fexpress-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastianll28%2Fexpress-template/lists"}