```
-$ git clone https://github.com/assembler-school/node-moviedb-cli.git
+$ git clone https://github.com/labietelabiete/node-moviedb-cli.git
```
-## Contents and Branches Naming Strategy
-
-The repository is made up of several branches that include the contents of each
-section.
+### 2. npm install
+Then, you will need to install the dependencies with: `npm install`.
-The branches follow a naming strategy like the following:
-
-- `main`: includes the main contents and the instructions
-- `assembler-solution`: includes the solution
-
-### Fetching All the Branches
-
-In order to fetch all the remote branches in the repository, you can use the
-following command:
+Run the following command in your terminal after cloning the main repo:
```sh
-$ git fetch --all
+$ npm install
```
-### List Both Remote Tracking Branches and Local Branches
+### 3. Create API_KEY
+- Go to The Movie Database (TMDb) :point_right: https://www.themoviedb.org/signup
+- Sign up and Sign in
+- Get your API KEY
-```sh
-$ git branch --all
+### 4. Create .env file with API_KEY
+Include this line below in .env file
```
-
-Then, you can create a local branch based on a remote branch with the following
-command:
-
-```sh
-$ git checkout -b
-### Running the Tests
+### 1. Popular Persons
+ ----------------
+ 1.1 URL: https://api.themoviedb.org/3/person/popular?page=1
+ - Required fields:
+ - description: "Make a network request to fetch the most popular persons"
+ - options:
+ - --popular (-p) REQUIRED ("Fetch the popular persons")
+ - --page (none) (input type: number) REQUIRED ("The page of persons data results to fetch")
+
+ 1.2 Start terminal spinner using ora (https://github.com/sindresorhus/ora) that renders the following message until the request has finished: "Fetching the popular person's data..."
-The tests that validate your solution can be executed by runing the following
-command:
+ 1.3 Create https request file (https://nodejs.org/api/https.html#https_https_request_options_callback)
-```
-$ npm run test
-```
+ 1.4 ERROR HANDLER -> ora.fail()
-### Git `precommit` and `prepush` Hooks
+ 1.5 RENDERING RESULT -> chalk (https://github.com/chalk/chalk)
+ - Use chalk.white() method to render pagination
+ - Use chalk for rendering persons data
+ - If person appears in movies:
+ - Use chalk for rendering movies
+
+ 1.6 Ending the terminal spinner using ora.succeed()
-In the `assembler-solution` branch you can see an implementation of these tools
-if you'd like to use them.
+ *Example* :
+ ```
+ node src/moviedb.js get-persons -p --page 100
+ ```
-## Deployment
+
-## Project requirements
+*Example* :
+```
+node src/moviedb.js get-person --id 1245
+```
+Dani Lucaci 💻 📖 💡 🔧 |
-