- Go to https://www.apachefriends.org
- Download the XAMPP version for your operating system (Windows/macOS/Linux)
- Run the installer and follow the prompts (use default settings)
- Once installed, open the XAMPP Control Panel
- In the XAMPP Control Panel, start Apache and MySQL services by clicking the "Start" buttons
- Wait until both services show a green status indicator
- Click "Admin" next to MySQL to open phpMyAdmin in your browser
- Create a new database named creativespace_db:
- Click on "New" in the left sidebar
- Enter "creativespace_db" in the database name field
- Click "Create"
- Import the database structure:
- Select the creativespace_db from the left panel
- Click the "Import" tab at the top
- Click "Choose File" and select the creativespace_db.sql file
- Click "Go" at the bottom to import the database structure
- Go to https://nodejs.org
- Download the LTS (Long-Term Support) version
- Run the installer and follow the prompts
- Verify the installation by opening Command Prompt or Terminal and typing:
You should see version numbers displayed for both commands
node -v npm -v
- Open Command Prompt or Terminal as administrator
- Navigate to the project directory:
cd C:\Projects\creativespace - Start the server:
node server.js - You should see a message indicating the server is running at http://localhost:5000
- Open a new Command Prompt or Terminal window as administrator
- Navigate to the frontend directory:
cd C:\Projects\creativespace\frontend - Start the React application:
npm start - Your default web browser should automatically open with the application running at http://localhost:3000
- Check if other applications are using ports 80 or 3306
- Try stopping and restarting the services
- Check XAMPP logs for specific error messages
- Ensure MySQL is running
- Verify the database connection settings in the server configuration
- Check if required dependencies are installed with:
cd C:\Projects\creativespace npm install
- Ensure you have the correct package.json file with all dependencies
- Open cmd and run:
cd C:\Projects\creativespace\frontend npm install - This is to install any missing dependencies
- Check console for specific error messages