Developer Setup & Deployment Guides
43 step-by-step guides. Each one covers the same 8 parts – what it is, prerequisites, local setup, a sample project, development configuration, production deployment (server, build, domain, SSL), diagrams and common errors – with commands you can copy.
Frontend
React, Redux, Next.js and TypeScript
- Redux Predictable global state for React apps with Redux Toolkit – store, slices, async calls and DevTools. Local setup · Production · Errors →
- Next.js React framework with server rendering, routing and API routes – create, configure and deploy to Vercel or your own server. Local setup · Production · Errors →
- TypeScript Add static types to JavaScript – install the compiler, configure tsconfig, build and run typed Node.js and React code in production. Local setup · Production · Errors →
- ReactJS Build fast, component-based user interfaces – set up with Vite, run locally and deploy the build to any web server. Local setup · Production · Errors →
Backend & Languages
Node.js, Express, NestJS, Python, Django, Flask, FastAPI, Go, PHP
- Node.js Run JavaScript on the server – install with nvm, build a small HTTP API, configure .env and deploy with PM2, Nginx and SSL. Local setup · Production · Errors →
- Express.js Minimal Node.js web framework – build a JSON API with routes, middleware and error handling, then deploy it behind Nginx. Local setup · Production · Errors →
- NestJS Structured, TypeScript-first Node.js framework – modules, controllers, services and dependency injection, from CLI to production. Local setup · Production · Errors →
- Python Install Python, manage packages with venv and pip, write a script or small service, and run it reliably on a Linux server. Local setup · Production · Errors →
- Django Batteries-included Python web framework – project, apps, models, admin, then Gunicorn, Nginx, static files and SSL in production. Local setup · Production · Errors →
- Flask Lightweight Python micro-framework – build routes and a JSON API, use an app factory and config, then serve it with Gunicorn and Nginx. Local setup · Production · Errors →
- FastAPI Modern, fast Python API framework with automatic validation and OpenAPI docs – develop with fastapi dev, deploy with Uvicorn workers. Local setup · Production · Errors →
- Go (Golang) Compiled, fast and simple – install Go, build an HTTP service with the standard library and ship one binary to production. Local setup · Production · Errors →
- PHP MySQLi Connect PHP to MySQL safely with MySQLi prepared statements – local setup, a CRUD example, and deployment on a VPS or shared hosting. Local setup · Production · Errors →
Databases & Caching
NoSQL, MongoDB and Redis
- NoSQL Understand document, key-value, wide-column and graph databases, model data for them, and run one locally and in production. Local setup · Production · Errors →
- MongoDB Document database for JSON-like data – run it locally, use it from Node.js with the driver or Mongoose, and go live on Atlas or your own server. Local setup · Production · Errors →
- Redis In-memory key-value store for caching, sessions, queues and rate limits – run it locally, use it from Node.js and secure it in production. Local setup · Production · Errors →
API & Authentication
REST, SOAP, GraphQL, Apollo, JWT, OAuth 2.0, WebSockets, Socket.IO
- REST API Design and build a clean REST API – resources, HTTP methods, status codes, validation, versioning and OpenAPI docs – then deploy it securely. Local setup · Production · Errors →
- SOAP API Understand SOAP, WSDL and XML envelopes, call an existing SOAP service, build a small one in Node.js and deploy it securely. Local setup · Production · Errors →
- GraphQL Query exactly the data you need – write a schema and resolvers, run a GraphQL server with GraphiQL and deploy it with sensible limits. Local setup · Production · Errors →
- Apollo GraphQL Apollo Server for the API and Apollo Client for React – build, connect and cache a full GraphQL stack and deploy it. Local setup · Production · Errors →
- JWT Authentication Stateless login for APIs – hash passwords, issue short-lived access tokens and refresh tokens, protect routes and run it safely in production. Local setup · Production · Errors →
- OAuth 2.0 “Login with Google” and secure delegated access – the Authorization Code flow with PKCE, step by step, from client registration to production. Local setup · Production · Errors →
- WebSockets Real-time, two-way communication over one connection – build a WebSocket server with ws, a browser client, and proxy it with Nginx (wss). Local setup · Production · Errors →
- Socket.IO Event-based real-time library with rooms, acknowledgements and auto-reconnect – build a chat, then scale it with Redis and Nginx. Local setup · Production · Errors →
DevOps & Deployment
Git, GitHub, Docker, Kubernetes, CI/CD, Jenkins
- Git Version control for every project – install and configure Git, commit, branch and merge, then deploy releases from Git to a server. Local setup · Production · Errors →
- GitHub Host your Git repositories, review code with pull requests, protect branches, store secrets and deploy – including free GitHub Pages hosting. Local setup · Production · Errors →
- Docker Package your app and its dependencies into containers – write a Dockerfile, run services with Compose and deploy the same image to production. Local setup · Production · Errors →
- Kubernetes Run and scale containers across machines – local cluster with kind, Deployments, Services, config and secrets, then a managed cluster with HTTPS. Local setup · Production · Errors →
- GitHub Actions Automate testing and deployment inside GitHub – write workflows, use secrets and environments, build Docker images and deploy to a server or AWS. Local setup · Production · Errors →
- GitLab CI/CD Pipelines defined in .gitlab-ci.yml – stages, runners, variables, Docker builds to the GitLab registry and SSH deployments with environments. Local setup · Production · Errors →
- CI/CD Pipeline From commit to production automatically – the stages of a CI/CD pipeline, a complete example, deployment strategies, secrets and rollbacks. Local setup · Production · Errors →
- Jenkins Self-hosted automation server – run Jenkins in Docker, create a Pipeline from a Jenkinsfile, add credentials and webhooks, and secure it with HTTPS. Local setup · Production · Errors →
Cloud & Hosting (AWS)
AWS, EC2, S3, RDS, CloudFront and Lambda
- AWS Start with Amazon Web Services safely – secure the account, set up the AWS CLI, control costs and choose the right services for your app. Local setup · Production · Errors →
- AWS EC2 Launch a virtual server on AWS, connect with SSH, deploy a Node.js app with Nginx, attach an Elastic IP and domain, and add free SSL. Local setup · Production · Errors →
- AWS S3 Unlimited object storage – create buckets, upload from the CLI and Node.js, share with presigned URLs, and host static sites securely with CloudFront. Local setup · Production · Errors →
- AWS RDS Managed MySQL and PostgreSQL – create a private database, connect from EC2 and your laptop, use TLS and Secrets Manager, and set up backups and Multi-AZ. Local setup · Production · Errors →
- AWS CloudFront Global CDN for fast, secure delivery – serve a React/static site from a private S3 bucket with HTTPS, a custom domain and cache invalidation. Local setup · Production · Errors →
- AWS Lambda Run code without servers – write a Node.js function, test it locally with AWS SAM, deploy with an HTTP endpoint, environment variables and logs. Local setup · Production · Errors →
Testing & Code Quality
Jest, Vitest, Mocha, Playwright and Selenium
- Jest Popular JavaScript testing framework – write unit and API tests with mocks and coverage, then run them in CI as a deployment gate. Local setup · Production · Errors →
- Vitest Fast, Vite-native test runner with a Jest-compatible API – unit and component tests, coverage and UI, running in CI before every deploy. Local setup · Production · Errors →
- Mocha Flexible Node.js test framework – pair Mocha with Chai and Sinon, test async code and APIs, add coverage with c8 and run it in CI. Local setup · Production · Errors →
- Playwright Reliable end-to-end testing in Chromium, Firefox and WebKit – auto-waiting, codegen, traces and HTML reports, running in CI before deploys. Local setup · Production · Errors →
- Selenium Browser automation with WebDriver – write tests in Python with pytest, use explicit waits, run headless and scale with Selenium Grid in Docker. Local setup · Production · Errors →
No guide matches your filter.