Skip to content

JHikyu/trug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

From static file serve to full-stack web-appilcation

Usage

Project initialization

Terminal

Startup

Argument Value Description
--port number Custom HTTP port
-p number Custom HTTP port
--sslport number Custom HTTPS port
--ssl Enable HTTPS
--path directory Set custom path

Terminal

Project structure

. ├── ...

├── views # Routes

│ ├── index.html # Root endpoint on localhost/ │ ├── index.js # Backend ran, when request on index.html │ └── faq.pug # Templates work fine localhost/faq (no .js needed) ├── public │ ├── style.css # localhost/style.css ├── src # Used for backend files │ ├── testing.js ├── socket.js # Optional

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published