Skip to content

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

Notifications You must be signed in to change notification settings

CodingDK/TypeScript-Express

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published