Back to course

Setting Up Your Development Environment

Generative AI for Web & Mobile Apps

Setting Up Your Environment

Before we code, let's get our tools ready. We will use Node.js for web development and VS Code as our editor.

Steps:

  1. Install Node.js: Download the LTS version from nodejs.org.
  2. Text Editor: Install Visual Studio Code.
  3. Postman/Insomnia: (Optional) Good for testing API calls before writing code.
  4. Terminal: Familiarize yourself with npm or yarn commands.

Project Initialization:

bash mkdir ai-app cd ai-app npm init -y npm install openai dotenv

dotenv is crucial for keeping your API keys safe!