Skip to content

mogenius/twitter-demo-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mogenius demo setup for multiple API services with nginx reverse proxy

API endpoints

Routes Service 1

get('/', $handle);
get('/user/:id', $handle);
get('/user/:name/:last_name', $handle);

Service A: /

Service A: /user/:id

Service A: /user/:name/:last_name

Service A with params

Service A with encoded url in path

Routes Service 2

get('/', $handle);
get('/product/:type/color/:color', $handle);
get('/item/:name', $handle);

Service B: /product/:type/color/:color

Service B: /item/:name

Service B with path and params

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •