Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,326 changes: 0 additions & 2,326 deletions 06-rest-api/04-socket-io/00-boilerplate/back/package-lock.json

This file was deleted.

5 changes: 2 additions & 3 deletions 06-rest-api/04-socket-io/00-boilerplate/back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
"scripts": {
"prestart": "sh ./create-dev-env.sh",
"start": "run-p -l type-check:watch start:dev",
"start:dev": "nodemon --transpileOnly --esm src/index.ts",
"start:dev": "nodemon --exec node --loader ts-node/esm src/index.ts",
"type-check": "tsc --noEmit --preserveWatchOutput",
"type-check:watch": "npm run type-check -- --watch"
},
"dependencies": {
"dotenv": "^16.3.1",
"express": "^4.18.2",
"stripe": "^12.12.0"
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.17",
Expand Down
19 changes: 2 additions & 17 deletions 06-rest-api/04-socket-io/00-boilerplate/back/public/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Buy cool new product</title>
<link rel="stylesheet" href="style.css" />
<script src="https://polyfill.io/v3/polyfill.min.js?version=3.52.1&features=fetch"></script>
<script src="https://js.stripe.com/v3/"></script>
<title>Express Server</title>
</head>
<body>
<section>
<div class="product">
<img
src="https://i.imgur.com/EHyR2nP.png"
alt="The cover of Stubborn Attachments"
/>
<div class="description">
<h3>Stubborn Attachments</h3>
<h5>$20.00</h5>
</div>
</div>
<button id="checkout-button">Checkout</button>
</section>
<h1>Express Server</h1>
</body>
</html>
80 changes: 0 additions & 80 deletions 06-rest-api/04-socket-io/00-boilerplate/back/public/style.css

This file was deleted.

2 changes: 1 addition & 1 deletion 06-rest-api/04-socket-io/00-boilerplate/back/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"skipLibCheck": true,
"isolatedModules": true,
Expand Down
2 changes: 1 addition & 1 deletion 06-rest-api/04-socket-io/01-hello-socket-io/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Hello socket

[🇪🇸 Versión Español](./README_es.md)
[🇪🇸 Versión Español](./Readme_es.md)

English version not available yet... fork and translate? O:-)
Loading