This is a contacts webapp written using Vue, Vuex, NestJS, and Prisma.
Prerequisites: You must have Node 14, Postgres 12, and Redis installed.
-
Create the database:
CREATE DATABASE contacts -
Create a
.envfile in the nestct directory with the following connection string:DATABASE_URL="postgresql://postgres:postgres@localhost:5432/contacts?schema=public" -
In the nestct directory run the command
npm run migrate:up -
In the nestct directory run the
nest startcommand. -
In the vuect directory run
npm run serve
The session functionality was written by Insidexa at https://github.com/Insidexa/nestjs-session-example

