-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d26798f
commit 1d683f2
Showing
88 changed files
with
19,048 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# FRONTEND_URL | ||
FRONTEND_URL=http://localhost:3000 | ||
|
||
# API key from the movie db | ||
API_KEY=<api-key> | ||
|
||
# API lang | ||
API_LANG=en-US | ||
|
||
# API country | ||
API_COUNTRY=GB | ||
|
||
# YouTube API key | ||
API_YOUTUBE_KEY=<api-key> | ||
|
||
# Google Analytics | ||
GA=UA-000000000-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
}, | ||
extends: [ | ||
'@nuxtjs' | ||
], | ||
// add your custom rules here | ||
rules: { | ||
'vue/html-closing-bracket-newline': ['error', { | ||
'singleline': 'never', | ||
'multiline': 'never', | ||
}], | ||
'vue/no-v-html': ['never'], | ||
'comma-dangle': ['error', 'always-multiline'], | ||
'semi': ['error', 'always'], | ||
'space-before-function-paren': ['error', 'always'], | ||
'no-console': ['warn'], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# dependencies | ||
node_modules | ||
|
||
# logs | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# Nuxt build | ||
.nuxt | ||
|
||
# Nuxt generate | ||
dist | ||
|
||
# Environment files | ||
.env | ||
|
||
# @nuxtjs/pwa | ||
sw.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: npm run start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# nuxt-movies | ||
Nuxt.js Movies | ||
|
||
Progressive web app featuring movies and tv shows from [The Movie Database (TMDb)](https://developers.themoviedb.org/3) API. Built using [Vue.js](https://github.com/vuejs/vue) and [Nuxt.js](https://github.com/nuxt/nuxt.js). | ||
|
||
Live demo hosted on Heroku can be found at [https://movies.jason.codes](https://movies.jason.codes). | ||
|
||
Built as a side project to learn some new skills 🔥🔥 | ||
|
||
## Quick setup | ||
|
||
1. Take a copy of `.env.sample` and re-name to `.env` | ||
2. Get your [TMDb](https://developers.themoviedb.org/3) API key | ||
3. Get your [YouTube](https://developers.google.com/youtube/v3/getting-started) API key (optional, used for video data) | ||
4. Enter the details into the `.env` file | ||
|
||
## Running | ||
|
||
``` bash | ||
# install dependencies | ||
$ npm install # Or yarn install | ||
|
||
# serve with hot reload at localhost:3000 | ||
$ npm run dev | ||
``` |
Oops, something went wrong.