CodingDK/TypeScript-Express

This is just an example on how to use TypeScript for an simple Express app with passport

★ 1Forks 0TypeScriptGitHub ↗Compare

README

TypeScript-Express

This is just an example on how to use TypeScript for an simple Express app with passport

Instructions

  1. First run install npm packages

    npm install

  2. Install @angular/cli global

    npm install -g @angular/cli

  3. Create a new file named .startupWithSecrets.ts in the project root folder

    Content have to be like this (remember to replace the mongo URL):

    process.env.MONGO_URL = "mongodb://localhost/typescript-db";
    
    require("./src/server/startup");
  4. Now just run the nodemon script with start command

    npm start

Contributors

CodingDK

Issues