A NodeJS project using Express with TypeScript, the project's main function is to act as an API for a website.
npm install
new Express({
folders: {
middlewares: 'src/application/middlewares',
services: 'src/application/services',
controllers: 'src/application/controllers',
},
basePath: '/api', // default: '/'
}).start(3005);
Shorthand | Module | Description |
---|---|---|
main.axios | Axios | Promise based HTTP client for the browser and node.js |
main.express | Express | Fast, unopinionated, minimalist web framework for node. |
main.app | Application | The app object conventionally denotes the Express application. |
main.console | Console | Simple debug console with tags and colors. |
main.options | Options | Express API options. |
main.console.log('Heeellllooooooo!!!', ['SERVER']);
This project is licensed under MIT, which basically means you can do anything you want with it, i only ask that you include a small copyright notice and a link to this repo in a comment in your source code.