Skip to content

d1mko/todoapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO APP

Description


A simple todo app that allows users to manage their tasks.

Technologies used


  • Python 3.8
  • Django
  • Django Rest Framework
  • PostgreSQL
  • Svelte
  • Docker

How to run locally


Using Docker and docker-compose:
  1. Install Docker and docker compose.
  2. Open a terminal and navigate to the project root folder.
  3. Run the following docker-compose commands:
docker-compose build
docker-compose up -d
  1. Apply migrations by using docker-compose exec web python manage.py migrate.
  2. The backend project is running on http://localhost:8000.
  3. To find the frontend network address run docker-compose logs command. In my case it is http://172.28.0.2:5000.
Without Docker and Compose:
  1. Install Python3.8.
  2. Install PostgreSQL and start it.
  3. Open a terminal and navigate to the project root folder.
  4. Set up virtual environment: tutorial.
  5. Install necessary packages: pip install requirements.txt.
  6. Configure database in config/settings.py
  7. Run next commands:
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py runserver
  1. The backend project is running on http://localhost:8000
  2. Install Node.js
  3. To run frontend run next commands:
npm install
npm run dev
  1. The frontend is running on http://localhost:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors