Skip to content

A full-stack 3-tier web application (React, Node.js, MongoDB) fully Dockerized with CI/CD using GitHub Actions.

License

Notifications You must be signed in to change notification settings

af1nzr/react-node-mongo-docker-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3-tier-app-react-express-ci-cd

A 3-tier application with a React frontend, Express backend, and CI/CD integration using GitHub Actions.

Features

  • React frontend
  • Express.js backend
  • Dockerized for easy deployment
  • CI/CD with GitHub Actions

Project Structure

3-tier-app/
├── backend/        # Express backend
├── frontend/       # React frontend
├── .github/        # GitHub Actions workflows
├── docker-compose.yml
├── README.md

Getting Started

Prerequisites

  • Node.js
  • Docker & Docker Compose

Installation

  1. 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
  2. Install dependencies for backend and frontend:
    cd backend && npm install
    cd ../frontend && npm install

Running Locally

  • Using Docker Compose:
    docker-compose up --build
  • Or run backend and frontend separately:
    # Backend
    cd backend && npm start
    # Frontend
    cd frontend && npm start

Usage

CI/CD

  • Automated builds and tests are run via GitHub Actions on push and pull requests.
  • See .github/workflows/ for workflow configuration.

License

This project is licensed under the MIT License. See LICENSE for details.

About

A full-stack 3-tier web application (React, Node.js, MongoDB) fully Dockerized with CI/CD using GitHub Actions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published