{"_id":"@ataye/client-server-vite-tailwind","_rev":"5-f8b695a7aa5b7e479d9cf895cbe69f6f","name":"@ataye/client-server-vite-tailwind","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@ataye/client-server-vite-tailwind","version":"1.0.0","keywords":["vite","tailwind","express","boilerplate","node","caprover","react"],"author":{"name":"Ataye"},"license":"ISC","_id":"@ataye/client-server-vite-tailwind@1.0.0","maintainers":[{"name":"ataye","email":"ataye.develepment@gmail.com"}],"bin":{"client-server-vite-tailwind":"bin/create.js"},"dist":{"shasum":"1d743568c4770f8fc98d5dab5ed458d4ccc5bb1e","tarball":"https://registry.npmjs.org/@ataye/client-server-vite-tailwind/-/client-server-vite-tailwind-1.0.0.tgz","fileCount":29,"integrity":"sha512-v2aGUJ5g7Xibu0UpiOrNj9Z9SV9jfkt6v6BZ0YBMHyOyB+fDL6JicgpJb3ug5+JGpG+uIpw45GtbWZ6wBZJajA==","signatures":[{"sig":"MEQCIDypHdW29ccQuwwQn4YT2ObkarAQcgijoGqkQufiaEjGAiAW+2G01gp5Ac0XBP2TjvMi30XaL1f5GPcgXzc1alqG/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":196659},"main":"index.js","type":"module","gitHead":"cfb8909d7ec8fd47dbf2c1ca1ba9d9134ec895cc","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ataye","email":"ataye.develepment@gmail.com"},"_npmVersion":"10.7.0","description":"Boilerplate for an express client-server application using Vite and Tailwind CSS","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs-extra":"^11.1.1","inquirer":"^12.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/client-server-vite-tailwind_1.0.0_1743339933920_0.7076267181046185","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ataye/client-server-vite-tailwind","version":"1.0.1","keywords":["vite","tailwind","express","boilerplate","node","caprover","react"],"author":{"name":"Ataye"},"license":"ISC","_id":"@ataye/client-server-vite-tailwind@1.0.1","maintainers":[{"name":"ataye","email":"ataye.develepment@gmail.com"}],"bin":{"client-server-vite-tailwind":"bin/create.js"},"dist":{"shasum":"e503e8693c704d45d6d48c1117d676a660a915c7","tarball":"https://registry.npmjs.org/@ataye/client-server-vite-tailwind/-/client-server-vite-tailwind-1.0.1.tgz","fileCount":32,"integrity":"sha512-Yh/tCnnDUkDjXn4H4NhlQ4pyXaxdMkFQk1Fm28e/w2ysFX/pMLrExKC5hgXNSxyfHgD+geyg2lQiZ5qmYdtn8w==","signatures":[{"sig":"MEUCIE4NVcYGofuZ3HupIi/aNfyOeCY/DBPpOfo+B30WoD1TAiEA+V4h9eeCMf8f51qr3Y7llXu7tecCHdiQMpestbRoN6c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":209454},"main":"index.js","type":"module","gitHead":"e474e803496acdec4ceb29e3627a874c4f0ab786","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ataye","email":"ataye.develepment@gmail.com"},"_npmVersion":"10.7.0","description":"Boilerplate for an express client-server application using Vite and Tailwind CSS","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs-extra":"^11.1.1","inquirer":"^12.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/client-server-vite-tailwind_1.0.1_1743589363801_0.5328766927076325","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@ataye/client-server-vite-tailwind","version":"1.0.2","keywords":["vite","tailwind","express","boilerplate","node","caprover","react"],"author":{"name":"Ataye"},"license":"ISC","_id":"@ataye/client-server-vite-tailwind@1.0.2","maintainers":[{"name":"ataye","email":"ataye.develepment@gmail.com"}],"homepage":"https://github.com/Ataye/client-server-vite-tailwind#readme","bugs":{"url":"https://github.com/Ataye/client-server-vite-tailwind/issues"},"bin":{"client-server-vite-tailwind":"bin/create.js"},"dist":{"shasum":"e387e6005cb83099b1af2996067dc6670652b902","tarball":"https://registry.npmjs.org/@ataye/client-server-vite-tailwind/-/client-server-vite-tailwind-1.0.2.tgz","fileCount":32,"integrity":"sha512-Qrh5K783yZ2ICmrDZKdoqB4t8BME+27OsotVcz74BJKmrRAekfB6go73oW6VWhtwIt86zJJm2foXp2ry4C2daQ==","signatures":[{"sig":"MEUCIQCyG9nGgTwGEuO+H/Q2xu1KjaJFde2WN5+gPi6Hb1xE7QIgRLW8MOl6eie4FwuDH1IkkLz2Z3tI86VdNBRYMTwDUgU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":209530},"main":"index.js","type":"module","gitHead":"c1be5bb00890bab56af64a682793fdf33e50ea98","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ataye","email":"ataye.develepment@gmail.com"},"repository":{"url":"git+https://github.com/Ataye/client-server-vite-tailwind.git","type":"git"},"_npmVersion":"10.7.0","description":"Boilerplate for an express client-server application using Vite and Tailwind CSS","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs-extra":"^11.1.1","inquirer":"^12.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/client-server-vite-tailwind_1.0.2_1743589719990_0.1584612068542517","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@ataye/client-server-vite-tailwind","version":"1.0.3","keywords":["vite","tailwind","express","boilerplate","node","caprover","react"],"author":{"name":"Ataye"},"license":"ISC","_id":"@ataye/client-server-vite-tailwind@1.0.3","maintainers":[{"name":"ataye","email":"ataye.develepment@gmail.com"}],"homepage":"https://github.com/Ataye/client-server-vite-tailwind#readme","bugs":{"url":"https://github.com/Ataye/client-server-vite-tailwind/issues"},"bin":{"client-server-vite-tailwind":"bin/create.js"},"dist":{"shasum":"90fbcb2816fd6ec386a39accc39947689bcbdec7","tarball":"https://registry.npmjs.org/@ataye/client-server-vite-tailwind/-/client-server-vite-tailwind-1.0.3.tgz","fileCount":32,"integrity":"sha512-Bl/20pLxk0KsAXva7mWgeGZlGiWVzVC3JT+IaXW5Fi0W8hYfMe+umOEYG0ocebJpxCeDyVTt5TJgQbg7LkW63A==","signatures":[{"sig":"MEYCIQDJkvNPD9VgDQ9lZ1h21q50iPsB393u3ivdNlueRbLbVwIhAJ7bHhBxodB0d4KYx2oiTHP+GtbanyuP2uiG6Ynjfbio","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220587},"main":"index.js","type":"module","gitHead":"89fc7b28f65a2b7b5e6c63ef26bcf26601504fd5","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"ataye","email":"ataye.develepment@gmail.com"},"repository":{"url":"git+https://github.com/Ataye/client-server-vite-tailwind.git","type":"git"},"_npmVersion":"10.7.0","description":"Boilerplate for an express client-server application using Vite and Tailwind CSS","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs-extra":"^11.1.1","inquirer":"^12.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/client-server-vite-tailwind_1.0.3_1744407046851_0.23214328973790122","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@ataye/client-server-vite-tailwind","version":"1.0.4","main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["vite","tailwind","express","boilerplate","node","caprover","react"],"author":{"name":"Ataye"},"license":"ISC","description":"Boilerplate for an express client-server application using Vite and Tailwind CSS","repository":{"type":"git","url":"git+https://github.com/Ataye/client-server-vite-tailwind.git"},"bin":{"client-server-vite-tailwind":"bin/create.js"},"dependencies":{"fs-extra":"^11.1.1","inquirer":"^12.5.0"},"_id":"@ataye/client-server-vite-tailwind@1.0.4","gitHead":"b6d4d928e63b5492b430343b862b835edb3a095e","bugs":{"url":"https://github.com/Ataye/client-server-vite-tailwind/issues"},"homepage":"https://github.com/Ataye/client-server-vite-tailwind#readme","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-48frWgFW8aryX7szFH14L/xnp5g60tjIIUPwxivDp+XWKAqLqnxcxoOeUAwMXQuVEgCWQwhA/YoQb/b0yR8Wmw==","shasum":"2e84e8aa9ec0bd005998b53261a3aea1547a9d3f","tarball":"https://registry.npmjs.org/@ataye/client-server-vite-tailwind/-/client-server-vite-tailwind-1.0.4.tgz","fileCount":32,"unpackedSize":220789,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID76aXLMO/KIH5fsAm13p2C4ow/UQEGbWVIzAGUTOS9QAiAbGbMQqKGqKd2ShM6neBz/renXm/EfKhT+k9MzXEVZHw=="}]},"_npmUser":{"name":"ataye","email":"ataye.develepment@gmail.com"},"directories":{},"maintainers":[{"name":"ataye","email":"ataye.develepment@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/client-server-vite-tailwind_1.0.4_1756895671539_0.8201325058084974"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-30T13:05:33.847Z","modified":"2025-09-03T10:34:31.927Z","1.0.0":"2025-03-30T13:05:34.115Z","1.0.1":"2025-04-02T10:22:43.987Z","1.0.2":"2025-04-02T10:28:40.212Z","1.0.3":"2025-04-11T21:30:47.075Z","1.0.4":"2025-09-03T10:34:31.721Z"},"bugs":{"url":"https://github.com/Ataye/client-server-vite-tailwind/issues"},"author":{"name":"Ataye"},"license":"ISC","homepage":"https://github.com/Ataye/client-server-vite-tailwind#readme","keywords":["vite","tailwind","express","boilerplate","node","caprover","react"],"repository":{"type":"git","url":"git+https://github.com/Ataye/client-server-vite-tailwind.git"},"description":"Boilerplate for an express client-server application using Vite and Tailwind CSS","maintainers":[{"name":"ataye","email":"ataye.develepment@gmail.com"}],"readme":"# Simple Vite Client Server Template\r\n\r\n## Features\r\n\r\n- Simple React Nodejs client / server project template\r\n- Client builds into nodejs public folder\r\n- Server deployable to Caprover hosting container\r\n- Separate client and server npm instances to keep server deploy lightweight\r\n\r\n## Client\r\n\r\n- Vite - built for speed\r\n- Set up with Tailwind CSS and Flowbite\r\n- Nextjs style page router\r\n- Proxy configured for node server during development\r\n\r\n## Server\r\n\r\n- Nodejs express server\r\n- Router / controller model\r\n- Passthrough for React front-end router\r\n\r\n## Project Structure\r\n\r\n<pre>\r\n|-- client\r\n|   |-- layout\r\n|   |   |-- Layout.jsx     <== Basic layout component\r\n|   `-- src\r\n|       |-- pages          <== Nextjs style page routing from here\r\n|           |-- index.jsx \r\n`-- server\r\n    |-- bin\r\n    |   |-- www            <== Starts the express server\r\n    |-- routes\r\n    `-- controllers\r\n</pre>\r\n\r\n## Installation\r\n\r\nUsing npx, simple run:\r\n\r\n    $ npx @ataye/client-server-vite-tailwind\r\n\r\nthen provide the project name and optionally install (runs `npm install` for client, server and in the project root)\r\n\r\nIf you want to manually run npm install, you'll need to run it it both client and server folders.\r\n\r\n## Running the project\r\n\r\nAfter installation, start the project by running\r\n\r\n    $ npm run app\r\n\r\nto run both client and server.  To run each separately:\r\n\r\n    $ npm run client\r\n    $ npm run server\r\n\r\nserver will run codemon to watch for changes.\r\n\r\n## Deployment\r\n\r\nDeployment command builds the client vite project and copies build output to /server/public, then packages the node project into a tarball and calls caprover-deploy to deploy to the caprover server for hosting (Caprover hosting not included ;] )\r\n\r\nFrom the root of the project, run:\r\n\r\n    $ npm run deploy\r\n\r\nIf you dont want to deploy with caprover, just build the project and it copies into the server public folder.  You can then deploy from there:\r\n\r\n    $ npm run build-client\r\n","readmeFilename":"README.md"}