🚀Angular 8 + GraphQL + NestJS + Postgres Starter Kit
- star 数
- 127
- watcher 数
- 1
- fork 数
- 49
- issue 数
- 75
- 最終更新
- 2023/09/08
🚀Angular 8 + GraphQL + NestJS + Postgres Starter Kit
A full-stack starter kit with Angular 8, GraphQL, Apollo, NestJS and Postgres.
Starting a new web app can be hard. Choosing the right technologies, architecting the foundation and developing the core of an application can take a lot of time. Setting up a back-end and front-end requires a substantial amount of work. Furthermore, if you don't do things correctly, it can create technical debt, painless refactoring, and maintenance hell. We take care of all the tedious, mundane setup process for you.
This stater kit provides you with a kick start to your project by providing a scalable, modular web app with features like sign up and log in, user management, easy database configuration and more. We carefully curated cutting-edge technologies for a full-stack application. View the full list of features below.
Happy Coding :)
Follow this guide to setup your mac dev environment.
git clone git@https://github.com/<yourusername>/angular-graphql-express-postgres-starter-kit.gitcd angular-graphql-express-postgres-starter-kitgit remote add upstream git@https://github.com/alexitaylor/angular-graphql-express-postgres-starter-kit.gitcd clientnpm installnpm starthttp://localhost:4200$ cd server/project
$ npm installserver/project/ormconfig.json filepsql postgrespostgres=# create database nest_graphql_test;
CREATE DATABASEpostgres user does not exist: 1. Create a new user and 2. Change user's role$ npm run seedData
server/project/src/environments/environment.ts file configs. If environment.production config is set to true, then the seeding process will only generate default roles and 2 default users. This is useful when first setting up your production environment.# development $ npm run start # watch mode $ npm run start:dev # production mode $ npm run start:prod
Fill out .env file with postgres env variables
bash $ touch .env
POSTGRES_PASSWORD=supersecret
POSTGRES_USER=user
POSTGRES_DB=db
DATABASE=db
DATABASE_USER=user
DATABASE_PASSWORD=supersecret
DATABASE_HOST=postgres
DATABASE_PORT=5432
Anyone is welcome to contribute, however, if you decide to get involved, please take a moment to review the guidelines: