Skip to content

dmitrysam88/learn-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn server

Description

It is a test server for developers to learn how to send http request and get result.

Run

To run server you just need to clone net and run in terminal npm start.

It will run server on port 3000 and with myDataBase.json file as data base.

Configure

But you can configured port and data base file.

  • port can be configured by one of word -p -port p port
  • data can be configured by one of word -db -database db database

Examples:

  • npm start - port 3000, database myDataBase.json
  • npm start -- -port 4000 -database myDB.json
  • npm start -- -p 4000 -db myDB.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published