Skip to content

Fullstack e-commerce store, python flask: backend, vue.js: frontend, redis: broker & caching, celery: schedule, reporting tasks/ jobs.

Notifications You must be signed in to change notification settings

anurag-sachan/Flask-Vue-Redis-Celery-FullstackStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fullstack-Flask-Vue-Redis-Celery-Project

How to Run

  • Clone the repository.

    git clone https://github.com/anurag-sachan/Flask-Vue-Redis-Celery-FullstackStore.git
  • Spin the docker container for redis-instance and update the backend configurations here.

    If you are unsure about the redis setup, you can always use docker. It's extremely simple.
    Go to base folder. Run the command below :

    This will create a redis container named my-redis-container

    docker run --rm --name my-redis-container -p 6379:6379 -d redis

    To check if the instance is running properly redis-cli ping redis-cli -d 0 keys *

  • Setup the Celery workers ( for tasks ) & beat ( for schedule jobs )

    celery -A app.celery_app worker --loglevel=info
    celery -A app.celery_app beat --loglevel=info
  • Run the Backend:

    If database.db is not present

    python3 DB.py
    python3 app.py

    If database.db is already present

    python3 app.py
  • Run the frontend:

    cd frontend/

    # to install required node_module files
    
    npm install
    npm run dev

Screenshots

  • Please refer to the working demo-images from here.
User Admin

Thanks,

Anurag.

About

Fullstack e-commerce store, python flask: backend, vue.js: frontend, redis: broker & caching, celery: schedule, reporting tasks/ jobs.

Topics

Resources

Stars

Watchers

Forks