https://github.com/innei/electric-demo
https://github.com/innei/electric-demo
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/innei/electric-demo
- Owner: Innei
- License: mit
- Created: 2024-07-30T15:22:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-23T11:05:45.000Z (about 1 year ago)
- Last Synced: 2025-03-25T08:47:12.209Z (about 1 year ago)
- Language: TypeScript
- Size: 268 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Nest Drizzle + Auth.js
A Simple Nest.js Template Using Drizzle + Postgres, Auth.js.
## Demo

## Getting Started
Clone this project. Install the dependencies using pnpm. Copy the example environment variables.
```sh
git clone https://github.com/innei-template/nest-drizzle.git
cp .env.template .env
pnpm i
```
## Configure Auth.js
The configuration is located at `/apps/core/src/modules/auth/auth.config.ts` Please change your desired Provider here, GitHub OAuth is used by default.
`AUTH_SECRET` is a 64bit hash string, you can generate by this command.
```
openssl rand -hex 32
```
### License
2024 © Innei, Released under the MIT License.
> [Personal Website](https://innei.in/) · GitHub [@Innei](https://github.com/innei/)