Skip to content
A seed to start an Angular2 meteor project with authentication, pagination and Angular2 Material
CSS TypeScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
package.json Update all components to last version Dec 23, 2016

Table of Contents


This repository is a seed to start an Angular2 meteor project with authentication, pagination and Angular2 Material.

Includes :

  • Meteor 1.4.2
  • Angular 2
  • Typescript configuration (Note this configuration is or the Atom IDE. See below for the generic configuration)
  • Angular2 Material
  • Simple Todo application
  • Authentication + User Sign up
  • Working code to paginate tsaks
  • Working code to search tasks by name
  • Working code to sort tasks alphabetically (on server side)


Clone this repository

git clone

Install dependencies

npm install

Run the project


You can now access it at http://localhost:3000

Typescript configuration

Atom (default file)

In Atom, install the "atom-typescript" package This will automatically fill this base file, but you probably don't need to change anything.

  "atom": {
    "rewriteTsconfig": true
  "compileOnSave": false,
  "buildOnSave": false,
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "experimentalDecorators": true
  "filesGlob": [
  "files": []

Other IDEs

This is based on the Angular2 Meteor Tutorial :

  "compilerOptions": {
    "target": "es5",
    "lib": [
    "module": "commonjs",
    "moduleResolution": "node",
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "sourceMap": true
  "exclude": [
  "files": [
  "compileOnSave": false,
  "angularCompilerOptions": {
    "genDir": "aot",
    "skipMetadataEmit": true

Docker image

If you are familiar with Docker, you can simply build a docker image and deploy it in production. I've already atatched the proper Dockerfile, so you just have to run these commands (inside this application folder)

docker build -t yourname/your-app-name .

Then, you can push your image to the Docker hub (you need an account at and pull it on your production server. Start by sign in into Docker Hub

docker login

Then, push your image

docker push yourname/your-app-name

Finally, on the production server (you may need to use sudo)

docker login
docker pull yourname/your-app-name
docker run -d -e ROOT_URL= -e MONGO_URL=mongodb://url -e MONGO_OPLOG_URL=mongodb://oplog_url -p 80:3000 yourname/your-app-name

If you are using the MongoDb inside a Docker container, prefix the MONGO_URL part with

--link mongo:mongo -e MONGO_URL=mongodb://mongo
You can’t perform that action at this time.