/coding-examples-add-user-web-app-using-typescript

Project for starting with typescript webpack karma jasmine TDD and then Express JS and Mongoose Integration on this project

Primary LanguageJavaScript

Webpack 4 + TypeScript + ExpressJS + Mongoose

Build Status

This is a starter project to get started with typescript3 + webpack4 + jasmine + karma + Sass + Bootstrap + jQuery.

In this project I have couple of extra branch where I have code for TDD with ADD user Use Case and also it has couple of other branches where one for ExpressJS and other is for ExpressJS and Mongoose.

Features

  • Webpack 4
  • TypeScript 3 compilation
  • Bootstrap
  • jQuery
  • ts-lint
  • Webpack Development Server
  • Karma and Jasmine test execution

How to use

Just clone it and get going.

    # --depth 1 removes all but one .git commit history
    $ git clone --depth=1 https://github.com/roopkt/Training-Typescript-Webpack-Karma.git <your-project-name>

    # change directory to your project
    cd  <your-project-name>

    # Maybe remove the `.git` directory and start with a fresh one.

    # install all dependencies.
    $ npm i

    # Start developing and serve your app:
    npm start

    # Build your app without minification:
    npm run build

    # Build your app with minification:
    npm run build:prod

    # run unit tests:
    npm run test

Contributions

Please contribute if you need improvement and found any bugs 😃