https://github.com/amamov/nest-next-typeorm-ssr-starter
NestJS + NextJS + Typeorm MVC SSR Starter
https://github.com/amamov/nest-next-typeorm-ssr-starter
boilerplate mvc nestjs nextjs ssr typeorm
Last synced: 7 months ago
JSON representation
NestJS + NextJS + Typeorm MVC SSR Starter
- Host: GitHub
- URL: https://github.com/amamov/nest-next-typeorm-ssr-starter
- Owner: amamov
- Created: 2021-11-02T16:17:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-30T03:01:36.000Z (almost 4 years ago)
- Last Synced: 2025-01-17T11:42:35.642Z (9 months ago)
- Topics: boilerplate, mvc, nestjs, nextjs, ssr, typeorm
- Language: TypeScript
- Homepage:
- Size: 1.87 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# NestJS + NextJS SSR Starter
> NestJS + NextJS + Typeorm MVC SSR Starter with [nest-next](https://github.com/kyle-mccarthy/nest-next) package
"Just Coding!"
## Tech Stack
- node, npm, typescript, docker, docker-compose, nodemon, tsx
- eslint, prettier
- jest, supertest
- nestjs(version 8), nextjs, typeorm
- nest-next## Structure
- `pages` : client layer with nextjs
- `public` : served static files
- `server` : server layer with nestjs
- `nginx` : nginx to be a production-level dockerizing target that acts as a reverse proxy## Getting Start
1. `$ git clone https://github.com/amamov/nest-next-typeorm-ssr-stater.git`
2. `$ npm i`
3. `$ rm -rf .git`
4. `$ npm run dev`
## Config .env
```.env
# app
NODE_ENV='development'
PORT=5500
DB_NAME=...
DB_HOST=...
DB_PORT=...
DB_USERNAME=...
DB_PASSWORD=...# db
POSTGRES_DB=...
POSTGRES_USER=...
POSTGRES_PASSWORD=...# db admin
PGADMIN_DEFAULT_EMAIL=...
PGADMIN_DEFAULT_PASSWORD=...
```