Getting Started
Development Environment Setup
To begin development, you'll need Visual Studio Code (VSCode) with the Docker extension installed. This guide will walk you through the complete setup process.
1. Installing Docker
- Download Docker Desktop for your operating system (Mac, Windows, or Linux) from the official website
- Follow the installation instructions for your platform
- For Windows users:
- Use the Hyper-V version (installation guide available at docs.docker.com)
- Enable Hyper-V if needed
- Restart your computer after installation
- Run Docker Desktop and verify installation
- Check Docker extension in VSCode shows 'ready to use' status
2. Repository Setup
- Accept the GitHub invitation sent to your email after purchase
- Clone the repository to your local machine
- For Windows users, use PowerShell (as administrator) instead of Command Prompt
3. Node.js Setup with NVM
- Install Node Version Manager (NVM) for managing Node.js versions
- Open terminal in the cloned repository
- Run the following commands:
- nvm install v18.19.1
- nvm use v18.19.1
- Verify with node -v
- npm install -g yarn
- Verify with yarn -v
Required environment variables setup
# Root .env
NODE_ENV=development
PORT=3000
# Backend .env
DATABASE_URL=postgres://user:password@localhost:5432/daas
JWT_SECRET=your-secret-key
# Frontend .env
NEXT_PUBLIC_API_URL=http://localhost:1337Key Takeaway
Ensure all prerequisites (Docker, Node.js, and Git) are properly installed and configured before proceeding with the project setup.
Pro Tip
For production server deployment, the Docker installation process is simpler and requires only a few terminal commands. Always use separate .env files for different environments and never commit them to version control.