Code Monkey home page Code Monkey logo

todolist's Introduction

ToDo List

ToDo list based on latest technologies

What is that

I'm start that project because would like to try how work together latest Angular and Django.

%%% Work in progress %%%

How to start that project in local environment?

Database

You must install PostgreSQL(>=9.4). You must create database 'todo_list', then add and user 'todo_list' with password 'todo_list' and make him owner of created database.

Backend

all commands run inside backend folder

  1. Install python(>=3.4).

  2. Install virtuaenv tools and make virtual environment for project(optional).

    a) Install virtualenv tools pip install virtualenv.

    b) Create virtual environment call command virtualenv .venv.

    c) Activate environment source .venv/bin/activate(on Linux).

  3. Install requirements pip install -r requirements/base.txt.

  4. Run migrations python manage.py migrate

  5. Start dev-server python manage.py runserver

Frontend

all commands run inside frontend folder

  1. You must have installed npm package manager

  2. Run npm install for install dependencies

  3. Run npm run start for start dev server( for correct works requests to api, you must start backend dev server, step 5 in Backend section).

Deploy tools

I'm thinking long time about public deploy tools(with config from server) or keep in secret. And for now I'm make choice publish systemd circus service and fabfile wich I'm use for upgrade server. So I will keep in secret nGinx config file and version of django settings which used on server. I'm also hopeful if anyone find vulnerable in those configs or in the project, they will send direct email to me.

Credits

  1. I'm to know about TDD from book Percival Test-Driven Development with Python of Harry J.W.(I'm read first edition, soon will released 2 edition, but some aspects from first book is still actual)
  2. Łukasz Wojciechowski article about angular2 and web-sockets.
  3. I'm take implementation of web-sockets for angular2 by Peter Kassenaar from his github repo

History log

0.1.0 - Django 1.11, Channels 1.x, Angular 4

todolist's People

Contributors

akay7 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.