https://github.com/bishwas-py/djapy-todo-svelte
Django Svelte Template
https://github.com/bishwas-py/djapy-todo-svelte
Last synced: about 15 hours ago
JSON representation
Django Svelte Template
- Host: GitHub
- URL: https://github.com/bishwas-py/djapy-todo-svelte
- Owner: Bishwas-py
- Created: 2023-09-21T10:24:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T06:44:02.000Z (over 1 year ago)
- Last Synced: 2025-04-02T05:46:13.931Z (3 months ago)
- Language: Svelte
- Homepage:
- Size: 69.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Djapy-based Todo using Svelte
[Djapy](https://github.com/Bishwas-py/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](https://github.com/Bishwas-py/djapy-todo).### How to run
```bash
# Clone the repository
git clone [email protected]:Bishwas-py/djapy-todo-svelte.git # frontend
git clone [email protected]:Bishwas-py/djapy-todo.git # backend
``````bash
# Install dependencies# frontend
cd djapy-todo-svelte
npm install# backend
cd djapy-todo
pip install -r requirements.txtpip3 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:```bash
# .env
SECRET_BASE_API=http://127.0.0.1:8000 # backend url
```Now, run the application:
```bash
# Run the application# frontend
npm run dev# backend
python manage.py runserver
```### Screenshots
[Check out video](https://i.imgur.com/sLaMQtJ.mp4)