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

https://github.com/jay-wong-git/wong-posts

A small next app for fun
https://github.com/jay-wong-git/wong-posts

better-sqlite3 cloudinary nextjs

Last synced: 2 months ago
JSON representation

A small next app for fun

Awesome Lists containing this project

README

          

## Wong Posts 🗒️:

Wong Posts is a demo Next app.

## Screenshots 📸:

![LatestPosts](/screenshots/latest-posts.png)
![AllPosts](/screenshots/all-posts.png)
![NewPosts](/screenshots/new-post.png)

## Tech Stack 🛠️:

- `Next` 14.1.0
- `React` 18.3.1
- `React Query` 4
- `cloudinary` 2.0.2
- `better-sqlite3` 11.0.0

## Setting up locally ⚙️:

### 1. Clone on your local machine

```bash
https://github.com/Jay-Wong-Git/wong-posts.git
```

### 2. Install dependencies via `pnpm`

```bash
pnpm install
```

### 3. Edit `.env` with your cloudinary info

```javascript
CLOUDINARY_CLOUD_NAME = YOUR_CLOUDINARY_CLOUD_NAME;
CLOUDINARY_API_KEY = YOUR_CLOUDINARY_API_KEY;
CLOUDINARY_API_SECRET = YOUR_CLOUDINARY_API_SECRET;
```

### 4. Run on your local server

```bash
pnpm dev
```

## Deploy via docker 📡

#### Please refer to `Dockerfile` & `docker-compose.yml` in the root directory

If you have read all of this, please star the repo, it will help me a lot ❤️