Skip to content

davidumoru/ts-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express + TypeScript Server Template

This is a template for creating a server using Express.js with TypeScript.

Prerequisites

  • Node.js installed on your machine.

Getting Started

  1. Clone this repository:

    git clone https://github.com/davidumoru/ts-backend.git
  2. Navigate to the project directory:

    cd ts-backend
  3. Install dependencies:

    npm install
  4. Build the TypeScript code:

    npm run build
  5. Start the server:

    npm start
  6. You should see a message in your console indicating that the server is running.

Configuration

You can configure the server using environment variables. Rename the .env.example file in the project root and define your variables there.

Example .env file:

PORT=3000

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Note: This template aims to provide a basic setup for an Express.js server with TypeScript. Feel free to customize it according to your project requirements.

About

Express + TypeScript Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published