Git Product home page Git Product logo

nestjs-example-app's Introduction

NestJS Example App

Example app with NestJS 7 + Prisma 2 + Postgres + Graphql

๐Ÿ‘๐Ÿ‘๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰๐Ÿ‘๐Ÿ‘

Base project made with much โค๏ธ. Contains CRUD, advanced patterns, graphql and much more!

Demo example

ANGULAR DEMO HERE

Setup

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

What's included

  • 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

Bugs and feature requests

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.

Creators

Ismael Ramos

Thanks

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!

Copyright and license

Code and documentation copyright 2021 the authors. Code released under the MIT License.

Enjoy ๐Ÿค˜

nestjs-example-app's People

Contributors

ismaelramosmeta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.