3d2de67d1e0c18e1f72662dfd59f7f4e6b754773
A progressive Node.js framework for building efficient and scalable server-side applications.
Description
Nest framework TypeScript starter repository.
Backend init
# 1. Set up PostgreSQL and fill in .env
cp .env.example .env
# edit .env with your DB credentials
# 2. Run DB schema (or let TypeORM synchronize on first start)
psql -U postgres -d nestjs_blog -f database/init.sql
# 3. Seed admin users
npm run seed:admin
# 4. Seed blog posts
npm run seed:posts
Compile and run Backend
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Run tests in Backend
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Description
this is mirror code from https://github.com/binhkid2/FullStack-Blog-Nestjs-Nextjs-Postgres
https://github.com/binhkid2/FullStack-Blog-Nestjs-Nextjs-Postgres
Languages
TypeScript
96.9%
CSS
2.5%
JavaScript
0.4%
Dockerfile
0.2%