Skip to content

An Express.js project implemented using Typescript with strongly typed objects:

Notifications You must be signed in to change notification settings

pacjin79/express-typescript-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript and Express.js

An Express.js project implemented using Typescript with strongly typed objects:

Installation

Clone the repository

npm install 
typings install
node index.js

Browse to http://localhost:3000

Wow, it works!

Start in watch mode

npm run nodemon

Folder structure

.
├── src                    # Main project files
│   ├── index.ts           # Required from ../index.js with ts-node
│   ├── public             # Assets folder
│   ├── controllers        # Controller files
│   ├── views              # Jade files
│   ├── routes             # Routes folder
│   ├── config             # Configuration folder
│   ├───├── express.ts     # Express configuration
│   ├───├── config.ts      # Application configuration in config.js (port etc)
index.js                   # Requires ./src with ts-node module

License

MIT - Do with as you like.

About

An Express.js project implemented using Typescript with strongly typed objects:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 85.8%
  • HTML 9.3%
  • CSS 3.2%
  • JavaScript 1.7%