curl https://get.volta.sh | bash
volta install node
volta install yarn
git init
yarn init
yarn add fastify --exact
yarn add nodemon --exact --dev
yarn install
node server.js
npx nodemon server.js
- server.js
- This is the entry to the code that starts the server
- package.json
- This file stores the information about this package and its dependencies
- .gitignore
- This file is needed to ensure certain files do not get sent to github
- i.e. the
node_modules
as they are very large and you can recreate them locally by runningyarn install
- renovate.json
- This file is used by a github app that automates updating packages