ais-one / cookbook

VueJS + NodeJS Evergreen Cookbook

Home Page:https://dev.to/aisone/vuejs-expressjs-crud-cookbook-46l0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

master commit release npm version npm Sonarcloud Status Known Vulnerabilities MadeWithVueJs.com shield

1 - IMPORTANT - Read Me First!

The templates (express and vuejs template) and libraries (shareable libraries and tools) projects referenced in the Recipes are based on the two principles below.

1.1 - Updateable Templates

Your project is created using a template. If template updates, can upstream changes be merged with minimal impact on userland codes?

Yes and it is achieved through:

  • Design
    • Create folder where all userland code is placed, template must NOT touch this folder
    • template should not to be part of a monorepo
  • Process
    • clone template and create remote called upstream pointing to template
    • update framework when necessary by merging upstream into origin

1.2 - Manageable Sharing

You have code shared between multiple projects and libraries. If the code is updated, is breaking dependents and dependencies avoidable?

Yes, based on the following principles:

  • Shared libraries should be isolated and versioned. Use last-known-good version and update when ready
  • Isolation and versioning can be extended to types (for Typescript) and contracts (for API)
  • minimize inter & nested dependencies, and technical debt

2 - General Requirements

  • git, github (for actions, secrets, etc) & IDE (e.g. vscode), Docker
  • unix shell (Windows use git-bash or WSL2)
  • node 18+ LTS & npm 9+ (npm i -g npm@latest to update)

3 - Sandbox

Research and exploration Sandbox

4 - Docker Dev Env

Container setups for supporting apps for local development and testing docker-devenv/README.md

5 - Documentation

The docs folder contains useful information is in the midst of a major cleanup

6 - Useful scripts - For Use By Maintainers

  • bulk-git.sh: script to diff, pull, push git (for repos in recipies)
  • bulk-npm.sh: script to check for and/or update dependencies in package.json (for repos in recipies)

About

VueJS + NodeJS Evergreen Cookbook

https://dev.to/aisone/vuejs-expressjs-crud-cookbook-46l0

License:MIT License


Languages

Language:JavaScript 80.4%Language:TypeScript 12.8%Language:Shell 6.8%