Git Product home page Git Product logo

traiteur-amqp2's Introduction

My Project

This project uses Docker and Docker Compose to make deployment and execution of the application easier.

Prerequisites

Starting the project

  1. Clone the project repository to your local machine:
git clone https://github.com/my-user/my-project.git
  1. Navigate to the project directory:
cd my-project
  1. If you are using Docker Compose version 1.6.0 or higher, use the following command to start the containers:
docker-compose up -d
  1. If you are using an older version of Docker Compose, use the following command:
docker compose up -d

This will start the application containers in the background. You can check the status of the containers by running docker-compose ps.

  1. Run API
cd api/
npm start
  1. Run Worker
cd worker/
npm start
  1. Stopping the project

To stop the containers, use the following command:

docker-compose stop

Ctrl+C to stop node apis

  1. Removing containers

To remove the containers, use the following command:

docker-compose down

This will also delete any data stored in the application containers. If you want to preserve this data, use the docker-compose stop command instead.

docker-compose exec <service> <command>: run a command in a running container
docker-compose run <service> <command>: run a command in a new container

For more information on using Docker Compose, refer to the official documentation.


Create order :

POST http://localhost:3000/order

Get order

GET http://localhost:3000/order/:id

traiteur-amqp2's People

Contributors

nthgzl 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.