Skip to content

AdreamCZ/tietoevry_assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API for movie database

Simple REST API made with Flask. Endpoints and data format are defined in the assignment.

Usage

The solution is dockerized. To build the image navigate into the folder with the solution and use docker build. (root/elevated permissions are needed to build and run the docker image).

docker build --tag moviesapi .

Now run the created image with the following command:

docker run --publish 5000:5000 moviesapi

The REST API should be up and running. To try it out you can use any API testing tool like postman, or you can use the python script I created. It uses the requests package, so if you don't already have it, install it using pip. Then run it like this :

python3 test.py

After that just follow the prompts on screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published