Skip to content

NodeJS server starter project built with Typescript and Express

Notifications You must be signed in to change notification settings

corrantho/typescript-node-express-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Webserver Built With NodeJS + Typescript + Express

clone it and use it as you want

src/App.ts

    private routes(): void {
        let router = express.Router();

        // placeholder route handler
        router.get('/', (req, res, next) => {
            res.json({
                message: 'Hello World!'
            });
        });


        this.express.use('/', router);
        // this.express.use('/api/v1/data', DataRouter);
    }

Here is where you start defining your routes and route handlers. Use the current example

Made with 💌 in London 🇬🇧

About

NodeJS server starter project built with Typescript and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published