Skip to content

erickillian/wordle-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python3 Vue3 Vuetify3 Node.js Django4 DRF

Wordle App

Competitive Wordle app!

Check out the live demo of the app here!

If the app takes a long time to load, it is running on a free-tier server which hibernates it. This can result in load times of up to 2 minutes. Sorry, im too poor to pay for a better service :/

Table of contents

Competitive wordle app!

Setup

Build

pip install -r backend/requirements.txt && cd frontend && npm install . && npm run build && cd ../backend && python manage.py collectstatic --noinput && python manage.py makemigrations && python manage.py migrate

Run

cd backend && gunicorn backend.wsgi:application

Fake Data Population (Testing)

Create a superuser account for yourself

python manage.py createsuperuser

Creates 100 fake users

python manage.py demo_users --num_users 100

Creates 1000 Fake wordles and assigns them to random users

python manage.py demo_wordles --count 1000

Local Development

The easiest way to set up and do local development on the app is to run the frontend in development mode alongside the Django development server.

Frontend

To run the frontend development server on localhost:3000 run the following commands

cd fontend

If the npm package has not been installed run the following command

npm install .

Run the development frontend build

npm run dev

Backend

To run the backend development server on localhost:8000 run the following commands

cd backend

Install the required python packages

python -m venv env
source env/bin/active # Windows its .\env\Scripts\Activate.bat
pip install -r requirements.txt

Run the python development backend

python manage.py runserver

Environment Variables

Environment variables are found in ./.env.prod

If no environment variables are set then the app defaults to running the backend on http://localhost:8000 and the frontend on http://localhost:3000

If a hcaptcha secret / site key are not set then the backend will not require a valid token to work

If no database url is set the app will default to using a SQLlite3 database for the backend

Contribute

Anyone is welcome to contribution to the project!

Thank you for your support!

License

Software is licensed under the MIT License found here

About

Wordle web application made using django / django rest api + vue / vuetify

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors