{"repo":"cher-ami/chersite","free":true,"listed":false,"github":"https://github.com/cher-ami/chersite","clone":"git clone https://github.com/cher-ami/chersite.git","description":"web static-site generator for cher-ami projects","language":"TypeScript","stars":11,"topics":["framework","web-base","typescript","vitejs","react","less","boilerplate","nodejs","static","static-generator"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"🪜 chersite chersite is multi apps structure witch include a SPA/SSG/SSR front framework for cher-ami projects. - Structure - Requirements - Installation - CLI - Scripts Structure This repo is not a monorepo , it provides standalone apps. Each app has his own package.json and node modules folder, we build them separately. Front app The front app is a React SPA/SSG/SSR builder, scaffold with vite, react,typescript, and sass with @cher-ami/router on top. See the front app documentation Back app The back app is optional not set by default, it can be API, BO etc. Requirements - docker Installation This guide will help you to install the project on your local machine with docker. Only the front app is installed by default, so you can start to work on it without any other configuration. - Clone repo and move inside the repo folder: - Start the docker container: - Start shell from the container: - Install node dependencies for the root project and install dependencies for all apps: - Setup the project: By default, SSG mode is enabled, you can switch to SPA or SSR mode by setting MODE to SPA or SSR in the cli/config.js file. Development Then, start the dev server: - Create a apps/front/.env.local file with your local IP (useful to access the frontend from other devices): SSL If you want to enable SSL, set the PROTOCOL var in your .env.local file to https Then generate your localhost.crt & localhost.key in apps/front with : CLI npm scripts command line interface is available from the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cher-ami","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cher-ami/chersite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}