Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Challenge solution #24

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions challenge-app/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_BASE_API_URL=http://www.mocky.io/v2/5ae1c5792d00004d009d7e5c
14 changes: 14 additions & 0 deletions challenge-app/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
jspm_packages/**
dist/**
node_modules/**
vendor/**
polyfill/**
webpack/**
test/build/**
test/test-runner-old/**
assets/**
coverage/**
svg-icons
gruntfile.js
.eslintrc.js
**/cli.mjs
9 changes: 9 additions & 0 deletions challenge-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
env: {
node: true
},
extends: ["eslint:recommended", "plugin:vue/vue3-recommended", "prettier"],
rules: {
"vue/multi-word-component-names": 0
}
};
24 changes: 24 additions & 0 deletions challenge-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
10 changes: 10 additions & 0 deletions challenge-app/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false
}
9 changes: 9 additions & 0 deletions challenge-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Challenge app

## recommended nodejs version 16.8.0

To build and run the app:

<code>npm install</code>

<code>npm run dev</code>
13 changes: 13 additions & 0 deletions challenge-app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
Loading