{"id":24773221,"url":"https://github.com/boycce/nitro-web","last_synced_at":"2025-08-12T01:09:01.964Z","repository":{"id":268319562,"uuid":"903885508","full_name":"boycce/nitro-web","owner":"boycce","description":" A battle-tested, modular base project to turbocharge your projects,  styled using Tailwind 🚀","archived":false,"fork":false,"pushed_at":"2025-07-23T01:44:28.000Z","size":4433,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-02T03:51:59.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://boycce.github.io/nitro-web/","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/boycce.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,"zenodo":null}},"created_at":"2024-12-15T20:01:14.000Z","updated_at":"2025-07-21T21:16:27.000Z","dependencies_parsed_at":"2024-12-16T02:53:57.510Z","dependency_job_id":"cb804509-2700-4e54-a501-d27c16a23e2d","html_url":"https://github.com/boycce/nitro-web","commit_stats":null,"previous_names":["boycce/nitro","boycce/nitro-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boycce/nitro-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycce%2Fnitro-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycce%2Fnitro-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycce%2Fnitro-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycce%2Fnitro-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boycce","download_url":"https://codeload.github.com/boycce/nitro-web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycce%2Fnitro-web/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334358,"owners_count":24233786,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-01-29T04:40:01.791Z","updated_at":"2025-08-12T01:09:01.955Z","avatar_url":"https://github.com/boycce.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nitro\n\n[![NPM](https://img.shields.io/npm/v/nitro-web.svg)](https://www.npmjs.com/package/nitro-web)\n\nNitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind and Lucide icons 🚀\n\n```bash\nnpm i nitro-web -D @nitro-web/webpack\n```\n\n### Install\n\n1. Copy ./packages/example into your project\n5. Uncomment `# .env` in `./gitignore`  \n5. Run `npm i`\n\n### Usage\n\nOn the client, you can import components and page-components. See ./packages/example for further info.\n\n```javascript\nimport { SigninPage, Field } from 'nitro-web'\n```\n\nOn the server, you can import the express router, default models, and controllers. See ./packages/example.\n\n```javascript\nimport { setupRouter } from 'nitro-web/server'\nconst server = await setupRouter(config)\nserver.listen(3001, '0.0.0.0')\n```\n\nOn the client \u0026 server, you can import common utils.\n\n```javascript\nimport { deepCopy } from 'nitro-web/util'\n```\n\n### Run\n\n```bash\n# Running in development (watching for changes)\nnpm run dev:server # run and watch the nodemon server\nnpm run dev:client # run and watch the webpack dev server\nnpm run dev # or run and watch both the server and client\n\n# Building for production\nnpm run build\nnpm run start\n```\n\n### Transaction Mailgun Emails\n\nThe `sendEmail` utility compiles and sends Nunjuck templates with Mailgun.\n\n1. Templates are placed in `/server/email/`, three are available by default: welcome, reset-password, invite-user\n2. You can test the email templates at [http://localhost:3000/email/welcome](http://localhost:3000/email/welcome)\n3. Update the `emailFrom`, `emailReplyTo`, `emailTestMode`, `mailgunKey`, `mailgunDomain` in the your .env once you are ready to send\n\n```js\nimport config from './server/config.js'\nimport { sendEmail } from 'nitro-web/server'\n\nconst res = await sendEmail({\n  config: config,\n  data: { name: 'Test' },\n  template: 'welcome',\n  to: 'test@test.com',\n})\nconsole.log(res) // if config.emailTestMode=true, the template will be returned \n```\n\n### Developing Nitro in a Custom Project\n\n1. Git clone Nitro\n1. Move your project into `./packages/MYPROJECT`\n2. Delete the `./MYPROJECT/package-lock.json` file (if it exists), and add `package-lock=false` to `./MYPROJECT/.npmrc`. Workspaces only generate a single `package-lock.json` at the root, if this file exists locally, npm may install outdated dependencies for your team or in production.\n3. Ensure the same versions of `nitro-web` and `nitro-web/webpack` are used, this is required for workspace linking to function correctly.\n\n### Versions\n\n- Express `^4.17`\n- Monastery `~3.5.4`\n- Node `^18`\n- React `^18.3`\n- Tailwind `^3.4`\n- Webpack `^5.92`\n\n### Common packages\n\n- `pdf-to-img`\n- `pdfmake`\n- `react-chartjs-2`\n- `jest: ^29.7.0`\n- `migrate-mongo: ^10.0.0`\n- `eslint-plugin-jest: ^28.9.0`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboycce%2Fnitro-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboycce%2Fnitro-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboycce%2Fnitro-web/lists"}