/Rounders-Poker

(Work in progress) An online poker playing platform made with a frontend made with React and backend using Python and Django. Poker game engine developed from scratch.

Primary LanguageJavaScript

Build Status

Rounders - Online Poker platform

(WORK IN PROGRESS)

This project is currently a work in progress.
Current stage: All current project setup should be done, docker containers, Recat frontend, Django backend with all test suites and tools ready, and postgresql database has been set up. Users are able to signup, log in and log out. Authentication token is saved in cookies, and logged in users have different access rights then those that are not.

App profile

Socket connections between frontend and backend have been set up and soon as users enter the /game path they are added to the pool of users observing the table. All the base graphics for the poker table, stacks, users and card have been added to the platform and are generated based on passed props that will later come from the game state from the backend.

Single table preview

Running the application

Only dependency to run the application is Docker.
To build the application run: docker-compose build && docker-compose up

Frontend

The frontend will run on port 8080 (can be changed in docker-compose file).
localhost:8080

Backend

The backend will run on port 8000 (can be changed in docker-compose file).
localhost:8000

Valid Routes:

Create superuser:
Command:
docker-compose run backend sh -c "python manage.py createsuperuser"
It will ask you for username and password. From there you can create, delete and change users.

Project Design and Technology

Frontend

  • Created with React
  • Configured with webpack and babel
  • Tested with jest and linting with eslint

Backend

  • Created with Django
  • Tested with Pytest and Django
  • PostgreSQL