Skip to content

Commit

Permalink
init: Stelace Jobs marketplace template
Browse files Browse the repository at this point in the history
  • Loading branch information
abruere committed Jul 1, 2019
0 parents commit ae7ff6d
Show file tree
Hide file tree
Showing 274 changed files with 37,574 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
@@ -0,0 +1,14 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
130 changes: 130 additions & 0 deletions .env.example
@@ -0,0 +1,130 @@
# Publishable API key used for website (pubk_...)
STELACE_PUBLISHABLE_API_KEY=
# Secret API key used to retrieve data to prebuild pages (seck_...).
# Warning: only needed for build (scripts). Don’t include this key in your app.
STELACE_SECRET_API_KEY=

# Stelace Instant URL used in app meta tags and for email redirections
STELACE_INSTANT_WEBSITE_URL=

# Injected in various contents such as default translations
VUE_APP_SERVICE_NAME=Stelace

# Currently 'en' or 'fr'
VUE_APP_DEFAULT_LANGUAGE=
# ISO code supported by payment provider, like 'USD' or 'EUR'
VUE_APP_DEFAULT_CURRENCY=

# Text-search is typo-tolerant and includes all asset text fields by default
# If this var is set to true, text search input will simply filter on categories instead
VUE_APP_SEARCH_BY_CATEGORY=


#####################
## MAP / GEOCODING ##
#####################

# Mapbox tiles style such as mapbox://styles/mapbox/streets-v11 (cf. mapbox docs).
# You can also use third-party tiles provider such as Maptiler
VUE_APP_MAPBOX_STYLE=
VUE_APP_MAPBOX_TOKEN=

# Nominatim host and key to search locations based on text
# We suggest VUE_APP_NOMINATIM_HOST=https://open.mapquestapi.com
VUE_APP_NOMINATIM_HOST=
VUE_APP_NOMINATIM_KEY=



###############
## ANALYTICS ##
###############

# Provide this (like UA-XXXXXXXX-1) to use Google Analytics
VUE_APP_GOOGLE_ANALYTICS_ID=
# 'true' by default except when NODE_ENV === 'production'. Set this to 'false' to disable
VUE_APP_GOOGLE_ANALYTICS_DEBUG=


#############
## LOGGING ##
#############

# You can fill this to make debugging much easier in production environement:
# You just have create a free sentry (https://sentry.io/) account to start logging errors remotely.
VUE_APP_SENTRY_LOGGING_DSN=

# Source maps will be sent to your Sentry account on production build if you provide these.
# Note that we’ve already configured Webpack for you :)
# https://docs.sentry.io/platforms/javascript/sourcemaps/
# Your token may need to have the following permissions to upload sourcemaps:
# project:read, project:releases, project:write, org:read
SENTRY_AUTH_TOKEN=
SENTRY_ORG=
SENTRY_PROJECT=


#########################
## ADDITIONAL SERVICES ##
#########################

# Most of these can also be needed in specific Workflows

# Provide Stripe keys for payments or subscriptions
# WARNING: secret key should only be used server-side (e.g. in Stelace Workflows)
STRIPE_SECRET_KEY=
STRIPE_PUBLISH_KEY=

# Provide Vatsense information to verify tax ID
VATSENSE_API_KEY=

# Provide Nexmo information to send verify phone numbers and send SMS
NEXMO_API_KEY=
NEXMO_API_SECRET=


###########################
## CONTINUOUS DEPLOYMENT ##
###########################

# To enjoy built-in continuous deployment just click on "Deploy to netlify" in readme to get started.
# You will generally use the same project for production and live environments.
# Only set this if you want `yarn deploy:prod` to publish to a specific Netlify project
NETLIFY_ID_FOR_PRODUCTION=


#################
## DEVELOPMENT ##
#################

# All of these can usually be left empty

# set to 'true' to ease styling of some often-hidden elements (e.g. depending on user rights)
VUE_APP_DEBUG_STYLES=

# Set to 'true' to use the same fonts CSS file as in production
# and disable Webfontloader during development.
# Webfontloader is convenient to try out fonts during development by just updating `userFont` in styles.json
# But including Google Fonts CSS equivalent in build allows loading speed optimization
# You may want set this to 'true' to ensure styles.json is always up to date for deployment to production
VUE_APP_USE_PROD_FONTS_CSS=

# Following vars are probably only useful to Stelace devs

# Override API URL (default: https://api.stelace.com)
STELACE_API_URL=

# Can be changed to another WebSocket server implementing Stelace Signal conventions
# (default: https://api.stelace.com/signal)
VUE_APP_STELACE_SIGNAL_URL=

# Dashboard URL
STELACE_DASHBOARD_URL=

# Endpoint where we can get S3 bucket signed URL to upload user images and attachments
VUE_APP_CDN_POLICY_ENDPOINT=
# Useful when using a shared S3 bucket, to easily single out app’s files, e.g. 'dev/myname'
VUE_APP_CDN_UPLOAD_PREFIX=
# CDN offering image resizing API (based on Thumbor API http://www.thumbor.org/)
# Include protocol and trailing slash: 'https://cdn.instant.stelace.com/'
VUE_APP_CDN_WITH_IMAGE_HANDLER_URL=
3 changes: 3 additions & 0 deletions .eslintignore
@@ -0,0 +1,3 @@
statics
.cache
/dist
51 changes: 51 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,51 @@
module.exports = {
root: true,

parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
},

env: {
browser: true
},

extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
'plugin:vue/recommended',
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
'standard',
],

// required to lint *.vue files
plugins: [
'vue'
],

globals: {
'ga': true, // Google Analytics
'cordova': true,
'__statics': true,
'process': true
},

// add your custom rules here
rules: {
// allow console.log during development only
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
// allow debugger during development only
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'warn',

'comma-dangle': 'off',

'vue/no-unused-components': process.env.NODE_ENV === 'production' ? 'error' : 'warn',
'vue/max-attributes-per-line': ["error", {
"singleline": 3, // instead of 1: one-liners are nice
"multiline": {
"max": 1, // default
"allowFirstLine": false // default
}
}]
}
}
82 changes: 82 additions & 0 deletions .gitignore
@@ -0,0 +1,82 @@
.quasar

/dist

# Additional translation files
/src/i18n/build
# Theme translation files are not ignored on purpose to ease theme development in forks
# But these must be committed on a branch _not_ used for pull requests

# Cordova
/src-cordova/node_modules
/src-cordova/platforms
/src-cordova/plugins
/src-cordova/www

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env*
!.env.example

# OS files
.DS_Store
.thumbs.db

# Yarn
.pnp/
.pnp.js
.yarn-integrity

# Marketplace data
data.js
8 changes: 8 additions & 0 deletions .postcssrc.js
@@ -0,0 +1,8 @@
// https://github.com/michael-ciniawsky/postcss-load-config

module.exports = {
plugins: [
// to edit target browsers: use "browserslist" field in package.json
require('autoprefixer')
]
}
35 changes: 35 additions & 0 deletions .stylintrc
@@ -0,0 +1,35 @@
{
"blocks": "never",
"brackets": "never",
"colons": "never",
"colors": "always",
"commaSpace": "always",
"commentSpace": "always",
"cssLiteral": "never",
"depthLimit": false,
"duplicates": true,
"efficient": "always",
"extendPref": false,
"globalDupe": true,
"indentPref": 2,
"leadingZero": "never",
"maxErrors": false,
"maxWarnings": false,
"mixed": false,
"namingConvention": false,
"namingConventionStrict": false,
"none": "never",
"noImportant": false,
"parenSpace": "never",
"placeholder": false,
"prefixVarsWithDollar": "always",
"quotePref": "single",
"semicolons": "never",
"sortOrder": false,
"stackedProperties": "never",
"trailingWhitespace": "never",
"universal": "never",
"valid": true,
"zeroUnits": "never",
"zIndexNormalize": false
}
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright © 2019-present, Stelace

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit ae7ff6d

Please sign in to comment.