A simple blog system built with Nest, React and Nx.
DATABASE_URL="postgresql://nest_blog:nest_blog@db:5432/nest_blog?schema=public&connect_timeout=300"
JWT_SECRET=your_jwt_secret_key
JWT_EXPIRES=86400s
SHA_SECRET=your_sha_secret_key
NX_AXIOS_BASE_URL=/api
Install:
$ pnpm install
$ pnpm run prisma:generate
Run server:
$ pnpm nx serve server
Run admin:
$ pnpm nx serve admin
Run web:
$ pnpm nx serve web
# server app
$ pnpm nx build server --prod
$ make server
# web app
$ pnpm nx build web --prod
$ make web
# admin app
$ pnpm nx build admin --prod
$ make admin