Skip to content

Commit a374776

Browse files
committed
Complete frontend rebuild
Complete rebuild for Nuxt.js 3.0, including the following dependencies: - Pinia for state management - Vee-Validate for form validation - Tailwind for CSS
1 parent b0dcc4b commit a374776

113 files changed

Lines changed: 6911 additions & 15635 deletions

File tree

Some content is hidden

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

img/dashboard.png

-83 KB
Loading

img/login.png

-17.4 KB
Loading
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Get rid of .venv when copying
2+
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
3+
*/.venv
4+
*/*/.venv

{{cookiecutter.project_slug}}/.env

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ SMTP_HOST={{cookiecutter.smtp_host}}
2727
SMTP_USER={{cookiecutter.smtp_user}}
2828
SMTP_PASSWORD={{cookiecutter.smtp_password}}
2929
EMAILS_FROM_EMAIL={{cookiecutter.smtp_emails_from_email}}
30+
EMAILS_FROM_NAME={{cookiecutter.smtp_emails_from_name}}
31+
EMAILS_TO_EMAIL=={{cookiecutter.smtp_emails_to_email}}
3032

3133
USERS_OPEN_REGISTRATION=False
3234

@@ -45,3 +47,10 @@ POSTGRES_DB=app
4547
PGADMIN_LISTEN_PORT=5050
4648
PGADMIN_DEFAULT_EMAIL={{cookiecutter.pgadmin_default_user}}
4749
PGADMIN_DEFAULT_PASSWORD={{cookiecutter.pgadmin_default_user_password}}
50+
51+
# Neo4j
52+
NEO4J_SERVER=neo4j
53+
NEO4J_USERNAME=neo4j
54+
NEO4J_PASSWORD={{cookiecutter.neo4j_password}}
55+
NEO4J_AUTH=neo4j:{{cookiecutter.neo4j_password}}
56+
NEO4J_BOLT=bolt

{{cookiecutter.project_slug}}/cookiecutter-config-file.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ default_context:
33
project_slug: '{{ cookiecutter.project_slug }}'
44
domain_main: '{{ cookiecutter.domain_main }}'
55
domain_staging: '{{ cookiecutter.domain_staging }}'
6+
domain_base_api_url: '{{cookiecutter.domain_base_api_url}}'
7+
domain_base_ws_url: '{{cookiecutter.domain_base_ws_url}}'
68
docker_swarm_stack_name_main: '{{ cookiecutter.docker_swarm_stack_name_main }}'
79
docker_swarm_stack_name_staging: '{{ cookiecutter.docker_swarm_stack_name_staging }}'
810
secret_key: '{{ cookiecutter.secret_key }}'
@@ -14,9 +16,12 @@ default_context:
1416
smtp_user: '{{ cookiecutter.smtp_user }}'
1517
smtp_password: '{{ cookiecutter.smtp_password }}'
1618
smtp_emails_from_email: '{{ cookiecutter.smtp_emails_from_email }}'
19+
smtp_emails_from_name: '{{cookiecutter.smtp_emails_from_name}}'
20+
smtp_emails_to_email: '{{cookiecutter.smtp_emails_to_email}}'
1721
postgres_password: '{{ cookiecutter.postgres_password }}'
1822
pgadmin_default_user: '{{ cookiecutter.pgadmin_default_user }}'
1923
pgadmin_default_user_password: '{{ cookiecutter.pgadmin_default_user_password }}'
24+
neo4j_password: '{{cookiecutter.neo4j_password}}'
2025
traefik_constraint_tag: '{{ cookiecutter.traefik_constraint_tag }}'
2126
traefik_constraint_tag_staging: '{{ cookiecutter.traefik_constraint_tag_staging }}'
2227
traefik_public_constraint_tag: '{{ cookiecutter.traefik_public_constraint_tag }}'

{{cookiecutter.project_slug}}/frontend/.babelrc

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

{{cookiecutter.project_slug}}/frontend/.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ end_of_line = lf
88
charset = utf-8
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
11+
quote_type = double
1112

1213
[*.md]
1314
trim_trailing_whitespace = false

{{cookiecutter.project_slug}}/frontend/.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ VUE_APP_NAME={{cookiecutter.project_name}}
88
VUE_APP_ENV=development
99
# VUE_APP_ENV=staging
1010
# VUE_APP_ENV=production
11+
VUE_PRIVATE_TERM=example
12+
BASE_URL={{cookiecutter.domain_base_api_url}}
13+
VUE_APP_DOMAIN_WS={{cookiecutter.domain_base_ws_url}}
14+
VUE_APP_DOMAIN_API={{cookiecutter.domain_base_api_url}}

{{cookiecutter.project_slug}}/frontend/.eslintrc.js

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

{{cookiecutter.project_slug}}/frontend/.gitignore

Lines changed: 6 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,9 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77

8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
13-
14-
# Directory for instrumented libs generated by jscoverage/JSCover
15-
lib-cov
16-
17-
# Coverage directory used by tools like istanbul
18-
coverage
19-
20-
# nyc test coverage
21-
.nyc_output
22-
23-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
24-
.grunt
25-
26-
# Bower dependency directory (https://bower.io/)
27-
bower_components
28-
29-
# node-waf configuration
30-
.lock-wscript
31-
328
# Compiled binary addons (https://nodejs.org/api/addons.html)
339
build/Release
3410

35-
# Dependency directories
36-
node_modules/
37-
jspm_packages/
38-
39-
# TypeScript v1 declaration files
40-
typings/
41-
4211
# Optional npm cache directory
4312
.npm
4413

@@ -60,18 +29,12 @@ typings/
6029
# parcel-bundler cache (https://parceljs.org/)
6130
.cache
6231

63-
# next.js build output
64-
.next
65-
6632
# nuxt.js build output
33+
node_modules
34+
*.log*
6735
.nuxt
36+
.nitro
37+
.cache
38+
.output
39+
dist
6840
sw.*
69-
70-
# vuepress build output
71-
.vuepress/dist
72-
73-
# Serverless directories
74-
.serverless
75-
76-
# FuseBox cache
77-
.fusebox/

0 commit comments

Comments
 (0)