Skip to content

brizzle/Pi_Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node JS Server

Lightweight Node JS server.

Getting Started

Requirements

  • Install Node

Steps

Creating a "package.json" file:

  • Open terminal
  • Type npm init [-f|--force|-y|--yes] for the defaults
  1. Install node packages:

    $ npm install
  2. Adding definitely typed ("d.ts") files:

    In Visual Studio Code, to add "d.ts" files, the user will need to be a level above the "typings" folder. A "tsd.json" file will be created and "d.ts" files will be added to this. If the "typings" folder doesn't exist, it will be created as well as the "tsd.json" file.

    To add a "d.ts" file, in the termial, change directories until you are in the directory that you want to add the files.

    • Open terminal
    • Type tsd install node jquery sqlite3 --save
  3. Creating documentation:

    gulp typescript

This will be produced in the "docs" folder.

References

NPM install documentation npm-install

About

Node js server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published