- Server : Made up of somes APIs with PostgreSQL database. Using NestJS framework, Prisma ORM, and GraphQL.
Server |
---|
plugins/nestjs/README.md |
plugins/postgreSQL/README.md |
plugins/graphql-playground/README.md |
plugins/prisma/README.md |
plugins/bcrypt/README.md |
- Clone repositories.
- Add .env into server folder before running the server.
DATABASE_URL=YOUR_DATABASE_URL //PostgreSQL Connection
JWT_SECRET=YOUR_KEY_SECRET //JWT Implement
ACCESS_TOKEN_SECRET=YOUR_ACCESS_TOKEN
REFESH_TOKEN_SECRET=YOUR_REFESH_TOKEN
Executing server:
npm install
npm run start:dev //Dev environment
npm start //Product environment
Starting prisma:
npx prisma init
npx prisma migrate dev --name <NAME_MIGRATION_PROCESS>
npx prisma studio //Running Prisma Studio