Giter Site home page Giter Site logo

samirelhassann / coding-languages-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 92 KB

A simple programming language manager using React JS + NextJS + TailwindCSS.

Dockerfile 0.37% Shell 0.29% JavaScript 0.46% TypeScript 96.62% CSS 2.26%
docker docker-compose nextjs prisma reactjs shadn-ui tailwindcss zod

coding-languages-manager's Introduction

Coding Languages Manager

A simple programming language manager using React JS + NextJS + TailwindCSS.

This is a project created to apply the docker concepts studied during the FIAP Pós-tech

Language and Tools

docker nextjs postgresql react tailwind typescript

Additional Libraries

  • shadcn/ui
  • prisma
  • zod

Demo

Demo

Usage

Docker compose

The image from the project is on docker hub, you can find it running

docker pull samirelhassan/coding-language-manager:latest

To run using docker-compose-yml, create this the file and paste this code:

version: '3'

services:
  web:
    image: samirelhassan/coding-language-manager:latest
    ports:
      - "3000:3000"
    depends_on:
      - db
    environment:
      - DATABASE_URL=postgresql://prisma:password@db:5432/mydb?schema=public
    networks:  
      - mynetwork

  db:
    image: postgres:13
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: prisma
      POSTGRES_PASSWORD: password
      POSTGRES_DB: mydb
    volumes:
      - postgres_data:/var/lib/postgresql/data
    networks:  
      - mynetwork

volumes:
  postgres_data:

networks: 
  mynetwork:
    driver: bridge

Then just run

doccker compose up -d

Local

  1. Run the docker compose to create the postgres container
yarn install
  1. Update the schema database
yarn prisma generate && yarn prisma migrate dev
  1. Run the application
yarn dev

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.