Skip to content

gsi-manuel/ts-nodejs-express-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this repository for?

Node.js app architecture showcase. You can start your Node.js projects building on this boilerplate, based in API REST.

Architecture Overview

The app is designed to use a layered architecture. The architecture is heavily influenced by the Clean Architecture. This architecture implemented using Typescript and Webpack

The .env file

The .env file must be created in the root of the project, with the following content: MONGODB = 'mongodb://url:port/databasename'
TOKEN_SECRET = 'MyS3cr3tK3Y'

Use the npm scripts:

yarn install to install dependencies,
yarn run build to build the project (removes the flow annotations) and then,
yarn start to start the server.

Example:

http://localhost:3000/admin/provinces

About

Project nodejs-express using typescript and webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published