Skip to content

Commit

Permalink
Merge pull request #34 from Nemwel-Boniface/development
Browse files Browse the repository at this point in the history
Javascript Capstone Project : Let's Chill
  • Loading branch information
zmekonnen251 committed Mar 10, 2022
2 parents fbc494c + 36197ba commit 6f65a9d
Show file tree
Hide file tree
Showing 22 changed files with 11,374 additions and 5,514 deletions.
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": ["airbnb-base"],
"rules": {
"no-shadow": "off",
"no-param-reassign": "off",
"eol-last": "off",
"import/extensions": [ 1, {
"js": "always", "json": "always"
}]
},
"ignorePatterns": [
"dist/",
"build/"
]
}
62 changes: 62 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Linters

on: pull_request

env:
FORCE_COLOR: 1

jobs:
lighthouse:
name: Lighthouse
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup Lighthouse
run: npm install -g @lhci/cli@0.7.x
- name: Lighthouse Report
run: lhci autorun --upload.target=temporary-public-storage --collect.staticDistDir=.
webhint:
name: Webhint
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup Webhint
run: |
npm install --save-dev hint@6.x
[ -f .hintrc ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.hintrc
- name: Webhint Report
run: npx hint .
stylelint:
name: Stylelint
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup Stylelint
run: |
npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x
[ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.stylelintrc.json
- name: Stylelint Report
run: npx stylelint "**/*.{css,scss}"
eslint:
name: ESLint
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Setup ESLint
run: |
npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x
[ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.eslintrc.json
- name: ESLint Report
run: npx eslint .
105 changes: 104 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,104 @@
node_modules/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# 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
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

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

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
18 changes: 18 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"connector": {
"name": "local",
"options": {
"pattern": ["**", "!.git/**", "!node_modules/**"]
}
},
"extends": ["development"],
"formatters": ["stylish"],
"hints": [
"button-type",
"disown-opener",
"html-checker",
"meta-charset-utf-8",
"meta-viewport",
"no-inline-styles:error"
]
}
10 changes: 10 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-scss", "stylelint-csstree-validator"],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"csstree/validator": true
},
"ignoreFiles": ["build/**", "dist/**", "**/reset*.css", "**/bootstrap*.css", "**/*.js", "**/*.jsx"]
}
9 changes: 9 additions & 0 deletions MIT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Copyright 2021, [Nemwel and Zelalem]

###### APP TYPE can be a webpage/website, a web app, a software and so on

Permission is hereby granted, free of charge, to any person obtaining a copy of this [APP TYPE] and associated documentation files, to deal in the [APP TYPE] without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the [APP TYPE], and to permit persons to whom the [APP TYPE] 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 [APP TYPE].

THE [APP TYPE] 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 [APP TYPE] OR THE USE OR OTHER DEALINGS IN THE [APP TYPE].
69 changes: 41 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,58 @@
![](https://img.shields.io/badge/Microverse-blueviolet)

# Webpack Setup
# Let's Chill
Let's Chill is a web application that generates random movies from the tv Maze API. More information about the API can be found [here](https://www.tvmaze.com/api)

> Webpack is an open-source JavaScript module bundler. It is made primarily for JavaScript, but it can transform front-end assets such as HTML, CSS, and images if the corresponding loaders are included. webpack takes modules with dependencies and generates static assets representing those modules.
> Further information can be found [here](https://en.wikipedia.org/wiki/Webpack)


## Built With
![desktop-version](https://user-images.githubusercontent.com/92645881/157663460-cd52fad1-d05a-4f2b-97a4-3b03d2f5ba0d.png)
<p align="center";"><img src="https://user-images.githubusercontent.com/92645881/157663467-09720087-7ab9-4d59-9b74-5c16d3f6ad83.png"/><p>

- node_modules
- Webpack
- lodash
- basic HTML, CSS, JavaScript
![comment-section](https://user-images.githubusercontent.com/92645881/157663454-dfd4fb3d-f356-42fb-a6dc-025743264bea.png)
![comment-form](https://user-images.githubusercontent.com/92645881/157663447-31380859-8520-489a-9f13-9f5019b66ba0.png)

## Live Demo
Live site URL to Webpack basic setup
[Live Demo Link](https://nemwel-boniface.github.io/WebpackSetUp/)

## Built With

## Getting Started

- `HTML` ,`CSS` and `JavaScript`
- Library : `Webpack`
- Technologies used: `GitHub`
- [tv-Maze API](https://www.tvmaze.com/api)
- [involvement API](https://www.notion.so/microverse/Involvement-API-869e60b5ad104603aa6db59e08150270)

- To get a local copy up and running follow these simple example steps.
## Live Demo
Live site URL to Webpack basic setup
[Live Demo Link](https://mystifying-haibt-69e737.netlify.app/)
A Video demo for the project can be viewed [here](https://drive.google.com/file/d/1ECyKPCocCK91e6i0JuKVxaWbsmQsgL88/view?usp=sharing)

### Prerequisites

- You only need a browser to run the html file in.

### Setup

- Create a new folder to store the files in.

### Install

- Open your command prompt or terminal and run.
- git clone git@github.com:Nemwel-Boniface/WebpackSetUp.git .


- [Clone the GitHub Repository](https://github.com/zmekonnen251/Leadboard.git)
- run this commands in your terminal:
- `npm install`
- `npm run build`
- `npm start`

### Run tests

- To run tests run : npm run test
- npx hint .
- npx stylelint "**/*.{css,scss}"


### Install

- Open your command prompt or terminal and run.
- git@github.com:Nemwel-Boniface/let-sChill.git .

### Deployment

- Project is deployed using
- git push <branch_name>


- Project is deployed using netlify

## Authors

Expand All @@ -56,21 +62,28 @@ Live site URL to Webpack basic setup
- Twitter: [@nemwel_bonie](https://twitter.com/nemwel_bonie)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/nemwel-nyandoro-aa1b2620b/)

👤 **Zelalem Mekonnen**

- GitHub: [GitHub](https://github.com/zmekonnen251)
- Twitter: [Twitter](https://twitter.com/mek_zela)
- LinkedIn: [Zelalem G. Mekonnen](https://www.linkedin.com/in/zelalem-getachew/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/Nemwel-Boniface/WebpackSetUp/issues).
Feel free to check the [issues page](https://github.com/Nemwel-Boniface/let-sChill/issues).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments
Major thanks to [Nemwel]()
Major thanks to
- [Tv-Maze API](https://www.tvmaze.com/api)
- [Microverse (involvement API)](https://www.notion.so/microverse/Involvement-API-869e60b5ad104603aa6db59e08150270)


## 📝 License

This project is [MIT](./MIT.md) licensed.
This project is [MIT](./MIT.md) licensed.
12 changes: 0 additions & 12 deletions dist/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions dist/main.js

This file was deleted.

8 changes: 0 additions & 8 deletions dist/main.js.LICENSE.txt

This file was deleted.

0 comments on commit 6f65a9d

Please sign in to comment.