Coder Social home page Coder Social logo

quickstart-nest-angular's Introduction

Quickstart Angular 4 with Angular CLI + NodeJS with Nest and Express


Production start

Production start

Description

Starter repository for complete development with TypeScript. Main frameworks:

Globals Required

Installation

$ git clone https://github.com/davidpvilaca/quickstart-nest-angular.git projectName
$ cd projectName
$ yarn

Start

$ yarn start

Starts the application under development. This causes two servers to be started: The server with webpack by angular-cli and the back end server by nest. This will access the front end separately from the backend and the communication between the two will be done through environment variables configured in the angular.

Back: localhost: 3000 Front: localhost: 4200

In production the initiation will be given by: $ npm start:prod

Production build

$ yarn build

The build will be mounted in the dist folder, which will be created at the root of the project. Inside the dist folder you will have the server and client folders containing the web server and the angular application 4 mounted respectively.

Note: When running npm start: prod the build in production will start automatically before starting the server.

People

  • Author - David Vilaça

License

MIT

quickstart-nest-angular's People

Contributors

davidpvilaca avatar

Watchers

James Cloos avatar Samuel Fonseca Verneck 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.