Skip to content

ElvisYong/simple-fastify-scaffold

Repository files navigation

Getting Started

Installation

Node Version Manager

Install Node Version Manager (NVM) on your machine, simply run the following command in your terminal.

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash

Once installation is done, restart your terminal to be able to use nvm

Verify Installation

command -v nvm

You should see nvm if all goes well.

Whenever you have restarted your machine or created a new instance of terminal, you will have to run this command to make sure that you will be using the correct version of node and npm.

nvm use

Install the correct node version in the project directory

nvm install

Global Installations

Install Yarn

npm install -g yarn

Check installation

yarn --version

Highly recommended

Environment Variables

Required for index.ts

Starting the server

  1. Install the required node packages:
yarn install
  1. Build the project:
yarn build
  1. (a) Run the project for development with nodemon to listen for concurrent changes:
yarn dev
  1. (b) Run the project for production with node
yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published