djapy-todo-svelte

Djapy Todo Svelte

Django Svelte Template

Djapy-based Todo using Svelte

Djapy is the Django extremist friend, that can be used to develop rest api in a shot, with a very few lines of code, extreme speed and control.

This is a simple Todo application, using Svelte as frontend and Django's Djapy as backend.

How to run

# Clone the repository
git clone [email protected]:Bishwas-py/djapy-todo-svelte.git   # frontend
git clone [email protected]:Bishwas-py/djapy-todo.git          # backend
# Install dependencies

# frontend
cd djapy-todo-svelte
npm install

# backend
cd djapy-todo
pip install -r requirements.txt

pip3 install git+https://github.com/Bishwas-py/djapy.git@main  # make sure to use the latest djapy for this project

Now, create an .env in the root of the frontend directory and add the following:

# .env
SECRET_BASE_API=http://127.0.0.1:8000   # backend url

Now, run the application:

# Run the application

# frontend
npm run dev

# backend
python manage.py runserver

Screenshots

Check out video

Top categories

Loading Svelte Themes