Skip to content

Commit e521ba8

Browse files
committed
updates
1 parent 624f89f commit e521ba8

23 files changed

+1035
-28173
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Michael Herman
3+
Copyright (c) 2023 TestDriven.io
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Want to learn how to build this?
44

5-
Check out the [post](https://testdriven.io/developing-a-single-page-app-with-flask-and-vuejs).
5+
Check out the [tutorial](https://testdriven.io/developing-a-single-page-app-with-flask-and-vuejs).
66

77
## Want to use this project?
88

@@ -12,20 +12,20 @@ Check out the [post](https://testdriven.io/developing-a-single-page-app-with-fla
1212

1313
```sh
1414
$ cd server
15-
$ python3.9 -m venv env
15+
$ python3 -m venv env
1616
$ source env/bin/activate
1717
(env)$ pip install -r requirements.txt
18-
(env)$ python app.py
18+
(env)$ flask run --port=5001 --debug
1919
```
2020

21-
Navigate to [http://localhost:5000](http://localhost:5000)
21+
Navigate to [http://localhost:5001](http://localhost:5001)
2222

2323
1. Run the client-side Vue app in a different terminal window:
2424

2525
```sh
2626
$ cd client
2727
$ npm install
28-
$ npm run serve
28+
$ npm run dev
2929
```
3030

31-
Navigate to [http://localhost:8080](http://localhost:8080)
31+
Navigate to [http://localhost:5173](http://localhost:5173)

client/.editorconfig

-7
This file was deleted.

client/.gitignore

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,26 @@
1-
.DS_Store
2-
node_modules
3-
/dist
4-
5-
6-
# local env files
7-
.env.local
8-
.env.*.local
9-
10-
# Log files
1+
# Logs
2+
logs
3+
*.log
114
npm-debug.log*
125
yarn-debug.log*
136
yarn-error.log*
147
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
1519

1620
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
1723
.idea
18-
.vscode
1924
*.suo
2025
*.ntvs*
2126
*.njsproj

client/.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
3+
}

client/README.md

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
# client
22

3-
## Project setup
4-
```
3+
This template should help get you started developing with Vue 3 in Vite.
4+
5+
## Recommended IDE Setup
6+
7+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8+
9+
## Customize configuration
10+
11+
See [Vite Configuration Reference](https://vitejs.dev/config/).
12+
13+
## Project Setup
14+
15+
```sh
516
npm install
617
```
718

8-
### Compiles and hot-reloads for development
9-
```
10-
npm run serve
11-
```
19+
### Compile and Hot-Reload for Development
1220

13-
### Compiles and minifies for production
14-
```
15-
npm run build
21+
```sh
22+
npm run dev
1623
```
1724

18-
### Lints and fixes files
19-
```
20-
npm run lint
21-
```
25+
### Compile and Minify for Production
2226

23-
### Customize configuration
24-
See [Configuration Reference](https://cli.vuejs.org/config/).
27+
```sh
28+
npm run build
29+
```

client/babel.config.js

-5
This file was deleted.

client/index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link rel="icon" href="/favicon.ico">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Vite App</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.js"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)