Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal example of FastApi and docker

To run the project, you need to have docker installed on your machine. To start server run the following command:

docker-compose up

or if this doesn't work, try:

docker compose up --build

The server will be running on http://localhost:80.

to access already created endpoint make a get request to http://localhost:80/. Your response should be {"message":"Hello World"}.

I suggest you to use Postman to test the endpoints.

To stop the server run the following command:

docker compose down

To see running containers run the following command:

docker ps

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages