Skip to content

Servidor controlado local el cual puede aplicarse con la herramiento Ngrok para su hosting.

License

Notifications You must be signed in to change notification settings

mrx04programmer/Cerbero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cerbero

A locally controlled server that can be hosted using the Ngrok tool.

Requirements

Name Version
node 16.x
json-server 0.17.0
ngrok 4.3.3

Installation

Option 1:Running the npm install
command Option 2:Run the script called install.sh

Configuration (cerbero.js file)

  • Set the localhost

Line 5 : const host = 'localhost';

  • Establish port where the API will work

    • Line 6 (cerbero.js) :const port_json '5000';
    • Line 7 (package.json) : "server": "json-server --watch db.json --port 5000",
      Set port on which Cerbero will run

Line 7 : const port = '8080';

  • Set link which generates local ngrok. (Default configuration)

Line 8 : const ngroklocal = 'http://localhost:4040/inspect/http';

Execution

To start the cerbero server, we use the command npm run cerbero

Demo

imagen imagen

NodeJS version used: v16.13.1

Version in Spanish 🇪🇸

About

Servidor controlado local el cual puede aplicarse con la herramiento Ngrok para su hosting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages