Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

A boilerplate for a Node.js server with Express framework and a client app built with Webpack. Written in Typescript. Supports containerization using Docker.

License

Notifications You must be signed in to change notification settings

erkstruwe/express-typescript-boilerplate

Repository files navigation

express-typescript-boilerplate

A boilerplate for a Node.js server with Express framework and a client app built with Webpack. Written in Typescript. Supports containerization using Docker.

Install

npm install

Develop

npm run start:dev

Project structure

public
Static assets like images may go here. They are served using a static middleware. Assets generated by Webpack are put into the `generated` subfolder.
public/generated
Assets generated by Webpack
src
The server application
src/app
The client application

Run in production

The postinstall script automatically builds the client app. As long as NODE_ENV is set to production, just run npm install && npm start. Else, use npm run start:prod instead of npm start.

About

A boilerplate for a Node.js server with Express framework and a client app built with Webpack. Written in Typescript. Supports containerization using Docker.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published