https://github.com/nexys-system/boilerplate_vite
get started in <1 min with Vite - Typescript, CI, CD included
https://github.com/nexys-system/boilerplate_vite
boilerplate bootstrap getstarted typescript vite vitejs
Last synced: 3 months ago
JSON representation
get started in <1 min with Vite - Typescript, CI, CD included
- Host: GitHub
- URL: https://github.com/nexys-system/boilerplate_vite
- Owner: nexys-system
- License: mit
- Created: 2022-05-03T13:02:31.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T13:33:35.000Z (about 1 year ago)
- Last Synced: 2024-03-14T14:56:32.797Z (about 1 year ago)
- Topics: boilerplate, bootstrap, getstarted, typescript, vite, vitejs
- Language: TypeScript
- Homepage: https://nexys-system.github.io/boilerplate_vite/
- Size: 3.58 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boilerplate for Vite Project
[](https://github.com/nexys-system/boilerplate_vite/actions/workflows/test.yml)
[](https://github.com/nexys-system/boilerplate_vite/actions/workflows/deploy.yml)
[](https://github.com/nexys-system/boilerplate_vite/actions/workflows/docker.yml)This template repo allows you to create a JS app with [Vite](https://vitejs.dev/) in less than a minute with CI and CD - leveraging [Github actions](https://github.com/features/actions).
## Get started

Just click on "use this template" to create a github repo of your own.
Locally:
* clone
* `yarn` (to install dependencies)
* `yarn start` to start a dev server### Deployment
Deployment is triggered for every new tag/release. [See instructions on how to create a new release](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository).
#### Github Pages
The project is configured to be deployed to github pages automatically. Make sure you have your keypair uploaded, see [instructions](https://github.com/marketplace/actions/deploy-to-github-pages#using-an-ssh-deploy-key-)
#### Docker Container
A Docker container is generated for every release. Runs on port `3000`. [See the list of generated Docker containers](https://github.com/nexys-system/boilerplate_vite/pkgs/container/boilerplate_vite%2Fboilerplate_vite)
### Best Practices
When deployed via the docker container, the website gets a perfect score with [Lighthouse](https://developer.chrome.com/docs/lighthouse/overview/)

## Included resources
### Bootstrap
https://getbootstrap.com/docs/5.0/content
### Font-awesome
[version 6.1.1](https://cdnjs.com/libraries/font-awesome)
Browse available icons: https://fontawesome.com/search
## More
see [headless](https://github.com/nexys-system/react-headless) to be able to create Admin UI easily