Skip to content

Oshchenkov/pern-dockerized-stack

Repository files navigation


PERN Dockerized Stack


PostgreSQL Express React Nodejs Docker


Report Bug · Request Feature

About The Project

This project implements containerized applications of PERN stack

Getting Started

Prerequisites

You must have following software installed in your System:

  • docker

Installation

  1. Clone the repo:

    git clone https://github.com/Oshchenkov/pern-dockerized-stack.git
  2. Open folder iv Visual Studio Code and run devcontainer("Dev Containers" extension) :

    cd pern-dockerized-stack && code .
  3. Creating .env from default example

    cp .env.example .env
  4. Build development containers

    make build

    or

    docker compose -f docker-compose.yaml -f docker-compose.dev.yaml build
  5. Start containers

    make up

    or

    docker compose -f docker-compose.yaml -f docker-compose.dev.yaml up -d

    Frontend will be served at localhost:3000 (by default from .env variables)

Development default link (.env)

  • Next (client)

    localhost:3000
  • Express (api)

    localhost:4000
  • pgAdmin (db)

    localhost:5050
  • DB (port)

    localhost:5432

License

Distributed under the MIT License. See LICENSE.md for more information.

Contact

https://github.com/Oshchenkov

About

A template for creating a dockerized full stack project under devcontainer with React, Express, Typescript and Postgres.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors