Angular Graphql Nestjs Postgres Starter Kit

screenshot of Angular Graphql Nestjs Postgres Starter Kit

Angular Graphql Nestjs Postgres Starter Kit

🚀Angular 8 + GraphQL + NestJS + Postgres Starter Kit

Overview:

The Angular 8 + GraphQL + NestJS + Postgres Starter Kit is a full-stack starter kit that provides a scalable and modular web app. It takes care of the tedious setup process and offers features like authentication, user management, and easy database configuration. The kit incorporates cutting-edge technologies such as Angular 8, GraphQL, Apollo, NestJS, and Postgres.

Features:

  • Angular 8.X (w/ TypeScript)
  • GraphQL
  • NestJS server
  • TypeORM
  • Apollo
  • Bootstrap 4
  • Postgres
  • Authentication with JWT and local storage
  • Authorization
  • User Management
  • Entity Management
  • E2E testing
  • Docker Compose

Installation:

Requirements:

  • Node
  • NPM
  • Postgres
  • Docker (optional)

Getting Started:

  1. Fork the repo
  2. Clone the repo using git clone git@https://github.com/<yourusername>/angular-graphql-express-postgres-starter-kit.git
  3. Navigate to the cloned directory using cd angular-graphql-express-postgres-starter-kit
  4. Set upstream with git remote add upstream git@https://github.com/alexitaylor/angular-graphql-express-postgres-starter-kit.git

Client Installation:

  1. Navigate to the client directory using cd client
  2. Install dependencies with npm install
  3. Start the development server with live reload on http://localhost:4200 using npm start

Server Installation:

  1. Create the database by connecting to the Postgres shell with psql postgres
  2. Create the database using the command specified in the server/project/ormconfig.json file
  3. If the postgres user does not exist, create a new user and change the user's role
  4. Seed the database with default and random generated data using the specified command (note: be careful when running this command in a production environment)

Running the Server:

Visit http://localhost:4000/gra

Summary:

The Angular 8 + GraphQL + NestJS + Postgres Starter Kit is a comprehensive full-stack starter kit that simplifies the setup process for web app development. It includes a range of features and utilizes cutting-edge technologies to provide a scalable and modular web app. The installation process is well-documented with clear instructions for both the client and server components. Overall, this starter kit is a valuable resource for developers looking to quickly get started with building full-stack applications.