https://github.com/jakkaphatminthana/express-sequelize
Express + TypeScript + Sequelize practice with migrations
https://github.com/jakkaphatminthana/express-sequelize
docker docker-compose express postgres sequelize typescript
Last synced: 3 months ago
JSON representation
Express + TypeScript + Sequelize practice with migrations
- Host: GitHub
- URL: https://github.com/jakkaphatminthana/express-sequelize
- Owner: jakkaphatminthana
- Created: 2025-07-25T06:37:00.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-31T04:26:07.000Z (11 months ago)
- Last Synced: 2025-08-11T23:23:54.189Z (11 months ago)
- Topics: docker, docker-compose, express, postgres, sequelize, typescript
- Language: TypeScript
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Express Sequelize
> A practice project using **Express.js** with **TypeScript** and **Sequelize ORM**, focused on experimenting with **migrations**, **seeders**, and a **Docker Compose** setup using **PostgreSQL**.
## 🛠️ Tech Stack
- [Express.js](https://expressjs.com/) – Minimal web framework for Node.js
- [TypeScript](https://www.typescriptlang.org/) – Typed superset of JavaScript
- [Sequelize](https://sequelize.org/) – Promise-based Node.js ORM for Postgres, MySQL, etc.
- [PostgreSQL](https://www.postgresql.org/) – Open source relational database
- [Docker Compose](https://docs.docker.com/compose/) – Tool for defining and running multi-container Docker apps
## 🚀 Usage
### 1. Installation
```bash
pnpm install
```
### 2. Setup Environment
This project uses environment variables.
Make a copy of the `.env.example` file and rename it to `.env`
### 3. Run with Docker Compose
```bash
docker compose up
```
### 4. Run Migrations
```bash
pnpm db-migrate
```
### 5. Run Seeders
```bash
pnpm db-seed
```