Code Monkey home page Code Monkey logo

wordle-app's Introduction

Full-Stack Wordle Ranking Application (django and vue.js)

  • Hobby project, made with Django + DRF, VueJS (Vuex, Vue Rouer, Vuetify).
  • App is available in one languages: English. (Support could be added for more)

Features

  • Daily ranking system, first rankes wordles by number of guesses, then time
  • All time ranking (uses average guesses and average time after a player has completed 10 wordles)

Local installation steps:

  1. Install docker and docker-compose
  2. Install npm (comes with node.js)
  3. Install npm packages and build production bundle
npm install
npm run build
  1. Build the docker image
docker compose build
  1. Launch the local version of the app as a daemon (background process)
docker compose up -d
  1. Create a super user account
sudo docker-compose exec web python3 manage.py createsuperuser
  1. Use superuser account at /admin to manage and add users
Heroku deployment:

โš ๏ธ This section is out of date and likely will not work: If you want to contribute and help me get this working feel free

  1. Sign up for free Heroku account and install Heroku CLI
  2. Shell commands:
$ heroku apps:create your_app_name
$ heroku git:remote --app your_app_name
$ heroku buildpacks:add --index 1 heroku/nodejs
$ heroku buildpacks:add --index 2 heroku/python
$ heroku addons:create heroku-postgresql:hobby-dev
$ heroku config:set DJANGO_SETTINGS_MODULE=ranker.settings.prod
$ heroku config:set RANKER_SECRET_KEY='production SECRET_KEY value'

# superuser section, set values as needed
$ heroku config:set DJANGO_SUPERUSER_USERNAME=admin
$ heroku config:set DJANGO_SUPERUSER_PASSWORD=admin
$ heroku config:set [email protected]

$ git push heroku
  1. Use $ heroku open to reach the application.

Big thanks to gtalarico/django-vue-template for settings template and perfect instructions.

wordle-app's People

Contributors

dependabot[bot] avatar erickillian avatar funkindy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

wordle-app's Issues

Can't type guess

If there's an empty guess submitted, no new guesses can be made.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.