Skip to content

Code for a small API to get data from lemonde.fr written in R. Contains a Dockerfile for easy deployement. 🐳

License

Notifications You must be signed in to change notification settings

cedricbatailler/lemondeapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lemondeapi

lemondeapi is a REST API for lemonde.fr written in R. This work is purely educational.

Quickstart

The easiest way to get the REST API to run is by using a docker container. You will probably need Docker Desktop installed on your computer.

The first step will be to build the docker container.

git clone https://github.com/cedricbatailler/lemondeapi.git

cd lemondeapi/

docker build -t lemondeapi .

Once the docker built, you can run from anywhere a docker can run. Note that the API will run on a server emitting on the 8000 port. To serve the docker locally, you can use the following:

docker run -p 8000:8000 lemondeapi

The API will then be accissible from http://localhost:8000/. Documentation of the API will be hosted at http://localhost:8000/__docs__/.

About

Code for a small API to get data from lemonde.fr written in R. Contains a Dockerfile for easy deployement. 🐳

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published