/coding-examples-express-beginner-adduser-typescript

Sample app with client and server folder demonstrating express js runing web api and web api call using jquery ajax

Primary LanguageTypeScript

Webpack 4 + TypeScript + Karma + ExpressJS

Sample app demonstrating how can we make jquery ajax call to do CRUD operation on expressjs Web API.

Features

  • Webpack 4
  • ExpressJS
  • 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-ExpressJS-Sample-App.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

    # Start server:
    npm start:server

    # Start client:
    npm start:client

    # 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 😃