Example app with NestJS 7 + Prisma 2 + Postgres + Graphql
๐๐๐๐๐๐๐๐
Base project made with much โค๏ธ. Contains CRUD, advanced patterns, graphql and much more!
ANGULAR DEMO HERE
Install dependencies first
npm i
Create the postgres database
npm run docker:db
Generate the prisma schema
npm run prisma:generate
Run migrations to create necessary tables in the DB
npm run migrate:dev
Create first user and heroes
npm run seed
Start the application
npm start
- App deployed into Heroku. Using New relic and Postgres addons.
- CRUD: create, update and remove heroes with this project!
- Authentication with JWT tokens
- More logical directory structure
- Examples of NestJS services, guards and resolvers
- Env file included with al the environment variables that are mandatory already prepared
- Prisma 2. Usage of prisma migrate and prisma studio.
- Postgres to store the users and heroes of the application
- Graphql server
- Postman collection ready to import
Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
Ismael Ramos
Thanks to all contributors and their support.
If you have an idea or you want to do something, tell me or just do it! I'm always happy to hear your feedback!
Code and documentation copyright 2021 the authors. Code released under the MIT License.
Enjoy ๐ค