Sample app demonstrating how can we make jquery ajax call to do CRUD operation on expressjs Web API.
- Webpack 4
- ExpressJS
- TypeScript 3 compilation
- Bootstrap
- jQuery
- ts-lint
- Webpack Development Server
- Karma and Jasmine test execution
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
Please contribute if you need improvement and found any bugs 😃