Coder Social home page Coder Social logo

fullstack-docker's Introduction

Fullstack-Docker

A fullstack docker starter kit with Vue.js 3, Nestjs, PostgreSQL and adminer

Application structure:

To start the project with image building

It basically creates a .env file and launch docker compose with --build tag

./setup.sh

To start the project without building

Not suitable is no .env and no built image exist

docker compose up

Basically, it will install all the js dependencies and start a dev servers (see Application structure)

The Vue,js frontend has the following dependencies:

✔ Project name: … frontend
✔ TypeScript? …  Yes
✔ JSX Support? … No
✔ Vue Router for Single Page Application development? … Yes
✔ Pinia for state management? … Yes
✔ Vitest for Unit testing? … No
✔ Cypress for both Unit and End-to-End testing? … No
✔ ESLint for code quality? … Yes
✔ Prettier for code formatting? … Yes

You can add/remove dependencies at your convenience whith the command:

docker exec -ti vuejs3-frontend npm install <dependency name>

OR

docker exec -ti vuejs3-frontend npm uninstall <dependency name>

ALTERNATIVELY, modify the package.json file at your convenience, then:

docker exec -ti vuejs3-frontend npm install

You can access containers with:

Frontend

docker exec -ti vuejs3-frontend /bin/sh

Backend

docker exec -ti nestjs-backend /bin/sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.