@intouchg/fastify
v0.1.0
Published
Starter template for NodeJS Fastify server
Downloads
4
Readme
@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 .git
Update the package.json
name
,description
, andrepository
fieldsInstall 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 master
Developing a project
- Navigate into the project directory
cd MY_PROJECT_NAME
- Run the dev server
yarn dev
- Or build for production
yarn build