https://github.com/techiediaries/nestjs-crud-rest-api
Nest.js CRUD REST API Example
https://github.com/techiediaries/nestjs-crud-rest-api
nestjs rest-api typescript
Last synced: about 1 year ago
JSON representation
Nest.js CRUD REST API Example
- Host: GitHub
- URL: https://github.com/techiediaries/nestjs-crud-rest-api
- Owner: techiediaries
- Created: 2019-03-02T20:28:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-02T20:35:02.000Z (over 7 years ago)
- Last Synced: 2025-03-28T15:51:54.733Z (about 1 year ago)
- Topics: nestjs, rest-api, typescript
- Language: TypeScript
- Size: 7.81 KB
- Stars: 18
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest
A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
## Description
In this tutorial, you'll get introduced to Nest.js by building your first REST API CRUD application with this framework which is built on top of Node.js, Express.js and TypeScript and inspired by Angular.
We'll be using TypeORM as the ORM to abtract away the differences between the various database management system. We'll be using SQLite because it doesn't need any special installation in but you can very much use any database supported by TypeORM like MySQL or Oracle.
> Read [Nest.js Tutorial: Build your First REST API CRUD App with TypeORM](https://www.techiediaries.com/nestjs-tutorial-rest-api-crud)
```bash
$ git clone https://github.com/techiediaries/nestjs-crud-rest-api.git
```
## Installation
```bash
$ cd nestjs-crud-rest-api
$ npm install
```
## Running the app
```bash
# development
$ npm run start
# watch mode
$ npm run start:dev
# incremental rebuild (webpack)
$ npm run webpack
$ npm run start:hmr
# production mode
$ npm run start:prod
```
## Test
```bash
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
```
## License
Nest is [MIT licensed](LICENSE).