Giter Site home page Giter Site logo

polito-se2-23-08's Introduction

polito-se2-23-08

Repository for the 01SQNOV - Software Engineering II course - Thesis Management project

Sequence for running the project on Docker

Before starting the process described below, download Docker Desktop

  • start Docker Desktop
  • execute docker compose up from a terminal (inside the polito-se2-23-08 directory) to create a container with the three images (node app, mongoDB server, node test suite)
  • on Docker Desktop -> Containers locate the container thesisproposal, it should contain three separate images (db-1, backend-1, frontend-1 )
  • app-1 is the container that holds the node.js application and makes it accessible on localhost:3000: it is possible to access the various routes using Postman or other tools
  • to test changes in the code directly on Docker, all the images present in the container on Docker Desktop must be stopped, deleted and then docker compose up again
  • the two commands must be launched together in this exact order after code changes, or the images will not be built with the new code
  • In order to access the DB (testing purpose) open the Deocker Desktop app, open the db-1 section then switch to Terminal window. Here you can insert the command psql -U user thesisProposal to access the DB with username and password. Now you can run and execute your SQL queries.
  • ensure that ports 27017 and 3000 are free before executing docker compose -p ezwallet up with docker ps

polito-se2-23-08's People

Contributors

andrew64-bit 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.