intellisense / cool-events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cool Events

A simple application created using Python, Django, Django REST Framework, Dj REST Auth & Vue (with webpack hot reload).

Installation

Development environment is set up via Docker using Docker Compose.

API

cd api
make build
make start

You should now be able to access the API running on http://0.0.0.0:8000. Visit admin panel at http://0.0.0.0:8000/admin/ to make sure it is accessible.

Frontend

cd frontend
make build
make start

You should now be able to access the application running on http://localhost:8080.

Testing

For running the api tests, run the following command:

cd api
make test

Linting

API

For python various tools are used for linting:

First change directory to api:

cd api

Use following commands to execute each of the linter:

  • make flake8
  • make isort
  • make black

or run the following command to run all linters:

make lint

See Makefile for more helpful commands.

Frontend

Frontend linting is handled by eslint. First change directory to frontend:

cd frontend

then:

make eslint

or run the following command to run all linters:

make lint

See Makefile for more helpful commands.

Helping Material

About


Languages

Language:Python 47.9%Language:Vue 35.6%Language:JavaScript 12.8%Language:Makefile 1.8%Language:Dockerfile 0.7%Language:Shell 0.6%Language:HTML 0.6%