fuegoio / pokedex

Project template and playground for making web apps in Python and VueJS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokedex

This project is a template for beginners in full-stack, creating a pokedex interface to train on.

screenshot

How to use

Infrastructure

To launch the infrastructure needed (database), we use Docker and Docker-compose :

$ docker-compose up -d

Back-end

To launch the backend, we need first to create a virtualenv and install the requirements once :

$ cd back/
$ virtualenv --python=python3 venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt

Then to launch it everytime :

$ cd back/
$ source venv/bin/activate
(venv) $ python run.py

Front-end

To launch the front, we need first to install the requirements once :

$ cd front/
$ npm install

Then to launch it everytime :

$ cd front/
$ npm run serve

Pycharm configuration

In this project, Pycharm is already configured with the right database and the right run configurations : the backend and the frontend ones.

About

Project template and playground for making web apps in Python and VueJS.


Languages

Language:Python 71.0%Language:Vue 25.1%Language:HTML 2.3%Language:JavaScript 1.0%Language:Dockerfile 0.6%