GithubHelp home page GithubHelp logo

ticketflow's Introduction

TicketFlow

App

This repository contains two folders with separate NodeJS applications: a NestJS REST API and a NextJS app. Additionally, there is a Docker Compose file to easily run both applications together in a containerized environment.

Folder Structure

  • server/: Contains the NestJS REST API.
  • client/: Contains the NextJS application.
  • compose.yml: Docker Compose configuration file to orchestrate the containers (client and server).

Getting Started

Prerequisites

Before you can run the applications using Docker Compose, make sure you have the following software installed:

Running the Applications

Building images from source code.

First go to the "server" folder and rename the file ".env.example" to ".env". Then, execture this command:

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

This command will build and start the NestJS REST API and NextJS app in separate containers, exposing them on the specified ports, run a mongodb instance and seed the db.

Access the applications in your web browser:

You can use this connection string to connect to the db using MongoDB Compass: "mongodb://admin:[email protected]:27017/ticketflow?retryWrites=true&w=majority&appName=AtlasApp"

Then you can sign in with a any user in the database with the password: "password123456"

To stop the containers and remove the volume and images, run:

docker compose -f .\compose.yaml down --volumes

ticketflow's People

Contributors

cesarclarosns avatar

Watchers

 avatar

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.