Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/antoniomrtz/adventjs-2024

My solutions to the AdventJS 2024 challenge created by @midudev
https://github.com/antoniomrtz/adventjs-2024

adventjs-2024 algorithms jest midudev python typescript

Last synced: 3 days ago
JSON representation

My solutions to the AdventJS 2024 challenge created by @midudev

Awesome Lists containing this project

README

        

# AdventJS 204

![AdventJS204-Logo](./assets/logo.webp)

## Description

This repository contains my solutions to the **AdventJS 2024** challenge, which is organized by [midudev](https://github.com/midudev).

AdventJS is an annual event that helps developers improve their coding skills with 25 progressively harder challenges leading up to Christmas. The challenges are primarily focused on **JavaScript** and **TypeScript**, and in some cases **Python**. Each day, a new challenge is released, and participants are encouraged to solve it and share their solutions.

For more details on the challenge, visit the official platform: [AdventJS](https://adventjs.dev/).

## Get the repo

```console
git clone https://github.com/AntonioMrtz/AdventJS-2024.git
```

## How to run the code

If using **VSCODE** there are scripts in `.vscode` folder to run and debug Python and Typescript code for the solutions.

### Typescript

```console
npm i
```

```console
npx tsc x.ts && node x.js
```
#### Run tests

```console
npx jest
```

#### Style

```console
npx prettier . --write
```

### Python

```console
python -m venv venv
source /venv/bin/activate
pip install -r requirements.txt
```
```console
python x.py
```