0.0.8 • Published 4 years ago
@netstrada/atlas v0.0.8
AtlasJS
A Vite Typescript React 17 SSR framework
Development
yarn
yarn devThat should be enough to get started. It will open to http://localhost:7456
Building
yarn build
yarn serveyarn build will create the assets in dist - a client and server folder. Serve will run dist/server.js with Node.
Files
eslintrc.js - a barebones eslint configuration for 2021, that extends off of the recommended ESLint config and prettier
.prettierrc.js - the prettier config
index.html - the vite entrypoint, that includes the entry point for the client
server.ts - The barebones Express server with logic for SSRing Vite pages
tsconfig.json - TypeScript configuration
vite.config.ts - Vite configuration
CI
We use GitHub actions to build the app. The badge is at the top of the repo. Currently it just confirms that everything builds properly.