Pedromdsn / Express-Template

🔥 Express Template with Typescript, Jest, Eslint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Template with TypeScript, Jest and ESLint

Getting Started

Prerequisites

Starting Production Server

  1. Clone the repository.
  2. Install dependencies.
    yarn OR npm install
  3. Create a .env file based on .env.template.
  4. Start docker container OR use your own database.
    docker compose up -d
  5. Run migrations. yarn migrate:deploy OR npm run migrate:deploy
  6. Start the server.
    yarn start OR npm start
  7. Open http://localhost:3000 to view it in the browser.

Starting Development Server

  1. Clone the repository.
  2. Install dependencies.
    yarn OR npm install
  3. Create a .env file based on .env.template.
  4. Start docker container.
    docker compose up -d
  5. Run migrations. yarn migrate:dev OR npm run migrate:dev
  6. Start the server.
    yarn dev OR npm run dev
  7. Open http://localhost:3000 to view it in the browser.

About

🔥 Express Template with Typescript, Jest, Eslint

License:MIT License


Languages

Language:TypeScript 88.8%Language:JavaScript 11.2%