Giter VIP home page Giter VIP logo

rest-nestjs-postgres's Introduction

CrudJS + Nest.js + Postgres + TypeORM

license

The CrudJS project implemented as a REST API, using Nest.js and Postgres.

What's this CrudJS thing?

Glad that you asked. CrudJS intends to be a resource for comparing between different approaches for people building Node.js-based APIs, by applying them to an standard CRUD project. In other words, it's TodoMVC for APIs.

You can learn more about the project at our parent repository.

Trying out the API

On your local machine

You'll need Docker for that. Once you've got it installed on your machine, just clone the repo and run the docker-compose up --build command. The API will be listening for your requests at http://localhost.

On the cloud

We're still working on a deployment strategy that works for us. Stay tuned!

What's the stack used in this project?

  • Nest.js is a TypeScript-based Node.js API framework. It looks like if Angular and Express got physical. It's pretty knew and a bit rough around the edges, but Kamil Myśliwiec is doing an awesome job maintaining it.
  • Postgres is a very well know Open Source relational database.
  • TypeORM is an ORM built on TypeScript, so it makes it a natural choice for Nest.js projects.
  • Jest is a testing platform from Facebook Code. It's easy to configure and provides out-of-the-box mocking and code coverage reporting.

Current version

1.0.0-alpha.1

What's missing for 1.0.0 final?

  • Unit tests with mocked up dependencies.
  • Secured POST & DELETE endpoints (other that /entries.)
  • Swagger definition generated from code.

rest-nestjs-postgres's People

Contributors

davguij 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.