A Blog project with Angular and NestJS
Clone the repo and install the dependences
git clone https://github.com/dantnog/blog.git
cd blog/client
npm i
cd ../server
npm i
Make sure you have Angular CLI and NestJS CLI installed
npm i -g @angular/cli @nestjs/cli
To the database use MySql or MariaDB. Set the .env variable DATABASE_URL
. And don't forget the migrations.
# server side
npx prisma migrate dev
# .env example
DATABASE_URL="mysql://<name>:<password>@localhost:3306/theblog"
JWT_SECRET="secret"
Run it
# client side
ng serve
# server side
npm run start:dev