Code Monkey home page Code Monkey logo

movie-api's Introduction

Production Build Test Lint Check

TSH <> Marcin - Welcome Project

Hi, My name is Marcin and I would like to present you my piece of code.

Installing / Getting started

Requirements
1. Node >= 14
2. Docker >= 20.10.7
3. NPM >= 7.20.3

Developing

Application by default listens on localhost port 4000, this can be easily altered based on environmental variables

git clone [email protected]:mmazurowski/movie-api.git
npm i
npm run dev

Configuration

Make sure you're keeping you environmental variables up to date

NODE_ENV=development

APP_PORT=4000
APP_HOST=http://localhost
CORS_WHITELIST=

// this could be automated to always reflect .env.example

Building

Building application npm run build
You can build docker with following command: docker build -t tsh:latest .

Running

Running container docker run -v $(pwd)/database:/home/app/database -p 4000:4000 -e NODE_ENV=production tsh:latest

movie-api's People

Contributors

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