🔥 Tabas.blog 🔥

This is one of two repos for this project.
You will find the backend repo here

Technos

  • Frontend:

    • React
    • Typescript
    • Vite
    • Apollo Client
    • GraphQL
  • Backend:

    • PostgreSQL
    • TypeORM
    • Apollo server
    • GraphQL
    • Typescript

Directory structure

-- yourProjectFolderName
    | -- front
          | .git
    | -- back
          | data
          | .git

The data folder is important for database volume mapping, and data persistance in your dev process

Frontend

Before building or launching containers, install dependencies in each folder (front && back)


Running docker containers for development

From within the front directory run :

docker compose -f docker-compose.dev.yml up --build

add '-d' flag to dismiss logs and free up terminal window if necessary

Once docker compose is up, frontend app will be accessible at http://localhost:8080

Backend

Once docker compose is up, backend will be accessible at http://localhost:5000

Let's Go 🚀