├── src
│ ├── config
│ ├── controllers
│ ├── middlewares
│ ├── models
│ ├── routes
│ ├── services
│ ├── utils
│ └── index.ts
├── tests
├── .env
├── package.json
└── README.md
- Install dependencies:
npm install
- Populate the
.env
file with your database credentials. - Run the development server:
npm run dev
npm run dev
: Run the development server.npm run build
: Build the project for production.npm start
: Run the production server.
express
sequelize
pg
pg-hstore
dotenv
joi
typescript
ts-node
eslint
prettier
husky
lint-staged
@typescript-eslint/parser
@typescript-eslint/eslint-plugin
@types/node
@types/express
@types/joi
- npm install express sequelize pg pg-hstore dotenv joi
- npm install -D typescript ts-node eslint prettier husky lint-staged jest @types/jest @typescript-eslint/parser @typescript-eslint/eslint-plugin @types/node @types/express @types/joi eslint-config-prettier eslint-plugin-prettier