0.1.0 • Published 4 years ago
@intouchg/fastify v0.1.0
@intouchg/fastify
Starter template for NodeJS Fastify server
Creating a new project
- Clone the starter repo, renaming it according to your new project
git clone https://intazdoweb.intouchsol.com/IntouchDesignSystem/IntouchDesignSystem/_git/fastify NEW_PROJECT_FOLDER_NAME- Navigate into the new project folder and delete the existing git repo
cd NEW_PROJECT_FOLDER_NAME && rm -rf .gitUpdate the package.json
name,description, andrepositoryfieldsInstall dependencies to generate the yarn.lock file
yarn- Initialize a new git repo and create the initial commit
git init && git add . && git commit -m 'Initial commit'- Add your new project's git repo url as the git remote
git remote add origin NEW_PROJECT_GIT_REPO_URL- Finished! Push your code to the repo
git push origin masterDeveloping a project
- Navigate into the project directory
cd MY_PROJECT_NAME- Run the dev server
yarn dev- Or build for production
yarn build0.1.0
4 years ago