8000 GitHub - rjjq/5x_docker_0322_hw
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rjjq/5x_docker_0322_hw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web

  • Just for practice purposes.
  • The following commands may not work or follow the best practices.

image

Frontend

Launch

docker container run ashleylai/workshop:web

Usage

  • GET /
  • GET /certifications
  • GET /courses

Backend

  • default port: 3002
  • env:
    • PORT={api port}
    • DB_PORT=6379
    • DB_HOST=localhost

Launch

docker container run ashleylai/workshop:api

Usage

  • GET /
  • GET /api/1.0/certifications
    • read JSON data from /src/data folder
  • GET /api/1.0/courses
    • read data from database

Database

  • default port: 6379

Launch

docker container run ashleylai/workshop:db

Usage

$ redis-cli
> keys *
> hgetall course:1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0