A 3-tier application with a React frontend, Express backend, and CI/CD integration using GitHub Actions.
- React frontend
- Express.js backend
- Dockerized for easy deployment
- CI/CD with GitHub Actions
3-tier-app/
├── backend/ # Express backend
├── frontend/ # React frontend
├── .github/ # GitHub Actions workflows
├── docker-compose.yml
├── README.md
- Node.js
- Docker & Docker Compose
- Clone the repository:
git clone https://github.com/yourusername/3-tier-app-react-express-ci-cd.git cd 3-tier-app-react-express-ci-cd/3-tier-app
- Install dependencies for backend and frontend:
cd backend && npm install cd ../frontend && npm install
- Using Docker Compose:
docker-compose up --build
- Or run backend and frontend separately:
# Backend cd backend && npm start # Frontend cd frontend && npm start
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000
- Automated builds and tests are run via GitHub Actions on push and pull requests.
- See
.github/workflows/
for workflow configuration.
This project is licensed under the MIT License. See LICENSE for details.