Giter VIP home page Giter VIP logo

knboard's Introduction

Simple Kanban boards

๐Ÿ‘‰ View Live

image

License: MIT PRs Welcome Code of Conduct

CircleCI Maintainability Test Coverage

Quality ๐Ÿ’ช

  • Auto formatted with Prettier and Black
  • Tested with Jest, Pytest and Cypress
  • Continuous Integration

Built using a Modern stack ๐Ÿ’Ž

Frontend

  • Typescript
  • React with functional components and hooks
  • Redux Toolkit
  • Components & styling with Material-UI and Emotion
  • Drag & Drop using react-beautiful-dnd
  • Unit tests with React Testing Library
  • Integration tests with Cypress

Backend

  • Django REST framework for a powerful API
  • Django ORM for interacting with the database
  • PostgreSQL
  • Unit tests with Pytest

Infra

  • Blazing fast Nginx
  • Dockerized production setup
  • Continuous integration with CircleCI
  • Server setup and deployment with Ansible

Motivation ๐ŸŽฏ

  • Code samples for blog posts
  • Implementing Auto DevOps
  • Playing with tools that are free for open source
  • Styling with Emotion

Features โœจ

  • Multiple kanban boards
  • Drag & drop tasks
  • CRUD for tasks, labels & columns
  • Edit task descriptions with Markdown
  • Manage board members
  • Update your profile & pick an avatar

Development setup ๐Ÿ› 

Steps to locally setup development after cloning the project.

Note: docker-compose is currently only used for production.

Django

Have Python 3.8 installed and in PATH. Installing Python: https://realpython.com/installing-python/

python3 --version
# Python 3.8.2
cd backend
python3 -m venv .venv
source .venv/bin/activate

# Windows users
# .venv/scripts/activate

pip install -r requirements/local.txt

# Windows users, if you encounter pg_config error:
# 1) Install PostgresSQL and use the solution at https://stackoverflow.com/a/58440598/1262198

# Need to have Docker and Docker Compose installed
# Start PostgreSQL and other services via Docker Compose
docker-compose -f services.yml up --d

python manage.py migrate
python manage.py createsuperuser --username admin --email [email protected]
python manage.py loaddata avatars
python manage.py runserver
  • API root available at http://localhost:8000/api/
  • Admin available at http://localhost:8000/backdoor/

React

node --version
# v12.16
yarn --version
# 1.22.4
cd frontend
yarn install
yarn start

React app is now accessible at http://localhost:3000

Quality tools

Check formatting & quality with eslint

yarn lint

Run Jest tests

yarn test

Run Cypress tests

yarn cypress run

Debug Cypress tests

npx cypress open

Run Python tests

python -m pytest

Check formatting with Black

black --exclude .venv .

Articles

License

Licensed under the MIT license.


๐Ÿ‘‰ View Live

knboard's People

Contributors

akrifari avatar doylemark avatar happyninja2 avatar mirjamp avatar pyup-bot avatar rrebase avatar teekivi avatar

Stargazers

 avatar

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.