arkhi-digital / deckofcards

An API to simulate a deck of cards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deckofcards

An API to simulate a deck of cards

The docs are on http://deckofcardsapi.com

Feel free to fork and do whatever you want with the project, it's all under the MIT license.

Install

From inside the application's directory, run the following:

pip install -r requirements.txt
python manage.py migrate

Usage

python manage.py runserver 127.0.0.1:8000

Once the server is running you can access it at http://127.0.0.1:8000 (or the machine's address if the machine is remote). API documentation is available at the app's front page or at http://deckofcardsapi.com.

The server can be stopped using Ctrl+C.

Docker

docker build -t deckofcards .
docker run -p 8000:8000 -d deckofcards:latest

About

An API to simulate a deck of cards

License:MIT License


Languages

Language:JavaScript 43.1%Language:CSS 24.0%Language:Python 18.6%Language:HTML 11.7%Language:SCSS 2.5%Language:Dockerfile 0.1%