Skip to content

Commit 17f3a7e

Browse files
committed
chore: split backend and frontend into different repos
1 parent 56d4fea commit 17f3a7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+17
-16
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
5-
/.pnp
4+
node_modules
5+
.pnp
66
.pnp.js
77

88
# testing
@@ -139,4 +139,5 @@ venv.bak/
139139
.mypy_cache/
140140

141141
# database sqlite
142-
db.sqlite3
142+
db.sqlite3
143+
frontend/node_modules

Procfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 0 deletions
File renamed without changes.

backend/asgi.py renamed to backend/app/asgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
ASGI config for backend project.
2+
ASGI config for app project.
33
44
It exposes the ASGI callable as a module-level variable named ``application``.
55
@@ -11,6 +11,6 @@
1111

1212
from django.core.asgi import get_asgi_application
1313

14-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings')
14+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'app.settings')
1515

1616
application = get_asgi_application()

backend/settings.py renamed to backend/app/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Django settings for backend project.
2+
Django settings for app project.
33
44
Generated by 'django-admin startproject' using Django 3.0.7.
55
@@ -46,7 +46,7 @@
4646
'drf_yasg',
4747

4848
# LOCAL
49-
'backend.todo',
49+
'app.todo',
5050
]
5151

5252
MIDDLEWARE = [
@@ -61,7 +61,7 @@
6161
'django.middleware.clickjacking.XFrameOptionsMiddleware',
6262
]
6363

64-
ROOT_URLCONF = 'backend.urls'
64+
ROOT_URLCONF = 'app.urls'
6565

6666
TEMPLATES = [
6767
{
@@ -79,7 +79,7 @@
7979
},
8080
]
8181

82-
WSGI_APPLICATION = 'backend.wsgi.application'
82+
WSGI_APPLICATION = 'app.wsgi.application'
8383

8484

8585
# Database
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)