Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aanton/adventjs

My adventJS solutions (2021 edition)
https://github.com/aanton/adventjs

adventjs adventjs-2021

Last synced: about 2 months ago
JSON representation

My adventJS solutions (2021 edition)

Awesome Lists containing this project

README

        

# 🎅 My adventJS solutions (2021 edition) 🎄

My solutions to [25 days of JavaScript challenges](https://2021.adventjs.dev/) (2021 edition) by [@midudev](https://twitter.com/midudev).

## đź’… Project setup

- [Prettier](https://prettier.io/) for code formatting
- [ESLint](https://eslint.org/) for code linting
- [Jest](https://jestjs.io/) for testing
- vscode settings to run code formatting & linting on save
- Pre-commit hook to ckeck code formatting & linting using [husky](https://typicode.github.io/husky/) & [lint-staged](https://github.com/okonet/lint-staged)

## 💻️ Installation & usage

- Clone this project
- Install dependecies
- Run all tests or run only the day X tests

```bash
npm install

# Run all tests
npm run test

# Run day 4 tests (identified by 04 or day04)
npm run test 04
npm run test day04
```

## 🕹️ Challenges

| Day | Name | Rules | Tests | Code |
| --- | ----------------------------------------------------------------- | ------------------------------------------------ | ---------------------------------- | ---------------------------- |
| 1 | Contando ovejas para dormir | [rules](https://2021.adventjs.dev/challenges/01) | [tests](./src/day01/index.test.js) | [code](./src/day01/index.js) |
| 2 | ¡Ayuda al elfo a listar los regalos! | [rules](https://2021.adventjs.dev/challenges/02) | [tests](./src/day02/index.test.js) | [code](./src/day02/index.js) |
| 3 | El Grinch quiere fastidiar la Navidad | [rules](https://2021.adventjs.dev/challenges/03) | [tests](./src/day03/index.test.js) | [code](./src/day03/index.js) |
| 4 | ¡Es hora de poner la navidad en casa! | [rules](https://2021.adventjs.dev/challenges/04) | [tests](./src/day04/index.test.js) | [code](./src/day04/index.js) |
| 5 | Contando los dĂ­as para los regalos | [rules](https://2021.adventjs.dev/challenges/05) | [tests](./src/day05/index.test.js) | [code](./src/day05/index.js) |
| 6 | Rematando los exámenes finales | [rules](https://2021.adventjs.dev/challenges/06) | [tests](./src/day06/index.test.js) | [code](./src/day06/index.js) |
| 7 | Buscando en el almacén... | [rules](https://2021.adventjs.dev/challenges/07) | [tests](./src/day07/index.test.js) | [code](./src/day07/index.js) |
| 8 | La locura de las criptomonedas | [rules](https://2021.adventjs.dev/challenges/08) | [tests](./src/day08/index.test.js) | [code](./src/day08/index.js) |
| 9 | Agrupando cosas automáticamente | [rules](https://2021.adventjs.dev/challenges/09) | [tests](./src/day09/index.test.js) | [code](./src/day09/index.js) |
| 10 | La máquina de cambio | [rules](https://2021.adventjs.dev/challenges/10) | [tests](./src/day10/index.test.js) | [code](./src/day10/index.js) |
| 11 | ÂżVale la pena la tarjeta fidelidad del cine? | [rules](https://2021.adventjs.dev/challenges/11) | [tests](./src/day11/index.test.js) | [code](./src/day11/index.js) |
| 12 | La ruta perfecta para dejar los regalos | [rules](https://2021.adventjs.dev/challenges/12) | [tests](./src/day12/index.test.js) | [code](./src/day12/index.js) |
| 13 | Envuelve regalos con asteriscos | [rules](https://2021.adventjs.dev/challenges/13) | [tests](./src/day13/index.test.js) | [code](./src/day13/index.js) |
| 14 | En busca del reno perdido | [rules](https://2021.adventjs.dev/challenges/14) | [tests](./src/day14/index.test.js) | [code](./src/day14/index.js) |
| 15 | El salto perfecto | [rules](https://2021.adventjs.dev/challenges/15) | [tests](./src/day15/index.test.js) | [code](./src/day15/index.js) |
| 16 | Descifrando los nĂşmeros... | [rules](https://2021.adventjs.dev/challenges/16) | [tests](./src/day16/index.test.js) | [code](./src/day16/index.js) |
| 17 | La locura de enviar paquetes en esta Ă©poca | [rules](https://2021.adventjs.dev/challenges/17) | [tests](./src/day17/index.test.js) | [code](./src/day17/index.js) |
| 18 | El sistema operativo de Santa Claus | [rules](https://2021.adventjs.dev/challenges/18) | [tests](./src/day18/index.test.js) | [code](./src/day18/index.js) |
| 19 | ¿Qué deberíamos aprender en Platzi? | [rules](https://2021.adventjs.dev/challenges/19) | [tests](./src/day19/index.test.js) | [code](./src/day19/index.js) |
| 20 | ¿Una carta de pangramas? ¡QUÉ! | [rules](https://2021.adventjs.dev/challenges/20) | [tests](./src/day20/index.test.js) | [code](./src/day20/index.js) |
| 21 | La ruta con los regalos | [rules](https://2021.adventjs.dev/challenges/21) | [tests](./src/day21/index.test.js) | [code](./src/day21/index.js) |
| 22 | ¿Cuantos adornos necesita el árbol? | [rules](https://2021.adventjs.dev/challenges/22) | [tests](./src/day22/index.test.js) | [code](./src/day22/index.js) |
| 23 | ¿Puedes reconfigurar las fábricas para no parar de crear regalos? | [rules](https://2021.adventjs.dev/challenges/23) | [tests](./src/day23/index.test.js) | [code](./src/day23/index.js) |
| 24 | Comparando árboles de Navidad | [rules](https://2021.adventjs.dev/challenges/24) | [tests](./src/day24/index.test.js) | [code](./src/day24/index.js) |
| 25 | El último juego y hasta el año que viene 👋 | [rules](https://2021.adventjs.dev/challenges/25) | [tests](./src/day25/index.test.js) | [code](./src/day25/index.js) |

## đź’– Acknowledgements

- [@midudev](https://twitter.com/midudev) for sharing his knowledge with the DEV community in [YouTube](https://midu.tube/), [Twitch](https://midu.live/), [blog](https://midu.dev/), ... & creating [adventJS](https://adventjs.dev/)
- [@borjapazr](https://twitter.com/borjapazr) for creating [Awesome adventJS](https://github.com/borjapazr/awesome-adventjs)