express-ts-init

1.2.0 • Public • Published

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url]


express-ts-init

A boilerplate for Express.js using TypeScript to reduce manual setup time. Follow clean architecture best practice.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

express-ts-init is a repository that serves as a foundational boilerplate for building web applications using the Express.js framework and TypeScript. This repository is made with the intention to follow the best practice for clean architecture as well as type safety.

(back to top)

Built With

  • [![Express][Express.js]][express-url]
  • [![TypeScript][TypeScript]][TypeScript-url]

(back to top)

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Clone the repo

    git clone https://github.com/mikah13/express-ts-init.git
  2. Install NPM packages

    pnpm install
  3. Enter your environments variables in .env files

     # App's running environment
     NODE_ENV=
    
     # App's running port
     PORT=3000
    
     # Cors origin url
     CORS_ORIGIN=
    
  4. Run the project in development mode

    pnpm run dev

(back to top)

Readme

Keywords

none

Package Sidebar

Install

npm i express-ts-init

Weekly Downloads

5

Version

1.2.0

License

MIT

Unpacked Size

8.3 kB

Total Files

13

Last publish

Collaborators

  • mikah13