Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/itsminar/hono-drizzle-sql

This repository provides a starter template for building a serverless Node.js application using Hono as the framework, Drizzle ORM for database interactions, and PostgreSQL as the relational database.
https://github.com/itsminar/hono-drizzle-sql

Last synced: 22 days ago
JSON representation

This repository provides a starter template for building a serverless Node.js application using Hono as the framework, Drizzle ORM for database interactions, and PostgreSQL as the relational database.

Awesome Lists containing this project

README

        

# This Document provides instructions for setting up, running, and managing the project locally.

## Open the Terminal and Follow the Steps below:

1. Clone this repository -

```sh
git clone https://github.com/itsMinar/hono-drizzle-sql.git
```

2. Go to the Directory -

```sh
cd hono-drizzle-sql
```

3. Install all dependencies:

```sh
npm install
```

4. To generate migration:

```sh
npm run migrations:generate
```

5. To Push the updated migration:

```sh
npm run migrations:push
```

6. To run the project:

```sh
npm run dev
```

go http://localhost:8000

7. To Open the Drizzle Studio for Visualize the Data:

```sh
npm run studio
```

## All the best for your further learning 👍