Giter VIP home page Giter VIP logo

qrquest-backend's Introduction

QRquest

DAS competitive application about collecting achievements in form of QR codes.

REST api

Prerequisites

Backend Development

You can run once and nodeamon will restart node process on docker virtual machine on the fly upon detecting changes in ./backend/dist path.

Docker Image rebuild

Whenever you make major changes to files other than src (eg. package.json) - you have to (!!!) rebuild docker image using command:

docker-compose build

This will install node_modules from scratch to docker image.

Running

Execute these commands in ./backend directory.

Initialise

npm install

Start watching for changes

Typescript transpiler will automaticaly detect changes in .ts files in ./backend/src directory and this will trigger nodemon (if docker service is running) since ./backend/dist will be overwritten.

npm run watch

Start services (docker containers)

Backend service is available at localhost:3000.
This also starts Redis as standalone service which is only visible to other srvices in the same network qrnet. (see docker-compose.yml)

docker-compose up

Stop services

docker-compose down

qrquest-backend's People

Contributors

kestarumper avatar

Watchers

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