Get your development environment ready in 15 minutes!
git clone https://github.com/devanjaniraj/developer-environment-setup.git
cd developer-environment-setup
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
.\scripts\setup.ps1
Close and reopen PowerShell completely.
.\scripts\verify-installation.ps1
Your development environment is now ready. See the next section for first projects.
# Create project directory
mkdir my-express-app
cd my-express-app
# Initialize Node.js project
npm init -y
# Install Express
npm install express
# Create app.js
@"
const express = require('express');
const app = express();
app.get('/', (req, res) => {
res.send('Hello from Express!');
});
app.listen(3000, () => {
console.log('Server running on http://localhost:3000');
});
"@ | Out-File app.js
# Run the app
node app.js
Visit http://localhost:3000 in your browser.
# Create project directory
mkdir my-flask-app
cd my-flask-app
# Create virtual environment
python -m venv venv
# Activate virtual environment
venv\Scripts\activate
# Install Flask
pip install flask
# Create app.py
@"
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello():
return 'Hello from Flask!'
if __name__ == '__main__':
app.run(debug=True)
"@ | Out-File app.py
# Run the app
python app.py
Visit http://localhost:5000 in your browser.
cp -r templates/express-starter my-api
cd my-api
npm install
npm start
cp -r templates/fastapi-starter my-api
cd my-api
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload
docker-compose up -d
docker ps
docker-compose exec postgres psql -U postgres
docker-compose logs -f postgres
docker-compose down
Run PowerShell as Administrator
See Troubleshooting Guide for more help.
Next Steps:
Good luck! π