Skip to content

Pedrvisk/Express-API

Repository files navigation

Express API - TypeScript

A NodeJS project using Express with TypeScript, the project's main function is to act as an API for a website.

npm install

Go to app.ts

Usage

new Express({
  folders: {
    middlewares: 'src/application/middlewares',
    services: 'src/application/services',
    controllers: 'src/application/controllers',
  },
  basePath: '/api', // default: '/'
}).start(3005);

Shorthands

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.

Console Usage

main.console.log('Heeellllooooooo!!!', ['SERVER']);

LICENSE

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.

About

⚙️ Backend API Made in NodeJS for Simple Projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published