On the terminal execute the below command to create the projects' working directory and move into that directory.
$ mkdir backend-task
cd backend-task
In the projects' working directory execute the below command to create a virtual environment for our project. Virtual environments make it easier to manage packages for various projects separately.
$ virtualenv venv
To activate the virtual environment, execute the below command.
$ source venv/Script/activate
Clone this repository in the projects' working directory by executing the command below.
$ git clone https://github.com/rakesh-krishna/backend-task
$ cd backend-taskTo install all the required dependencies execute the below command.
$ pip install -r requirements.txtIf any problem with installing requirements try refering here
Create an Environment Variable named youtube_api_key add your youtube API key to this variable
First start the API execute the below command.
$ python app.pyThen Run the Server execute the below command.
$ python server.py