https://github.com/techiediaries/nestjs-upload-serve-file
Nest.js Example with File Uploading and Serving
https://github.com/techiediaries/nestjs-upload-serve-file
Last synced: 8 months ago
JSON representation
Nest.js Example with File Uploading and Serving
- Host: GitHub
- URL: https://github.com/techiediaries/nestjs-upload-serve-file
- Owner: techiediaries
- Created: 2019-03-03T12:12:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-03T13:02:27.000Z (over 7 years ago)
- Last Synced: 2025-06-29T23:36:08.521Z (12 months ago)
- Language: TypeScript
- Size: 13.7 KB
- Stars: 17
- Watchers: 3
- Forks: 7
- 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, we'll add JWT authentication to protect our RESTful endpoints from unauthorized access.
> Read [Nest.js Tutorial: Build your First REST API CRUD App with TypeORM](https://www.techiediaries.com/nestjs-tutorial-rest-api-crud)
>
> [Nest.js Tutorial: JWT Authentication with Passport.js](https://www.techiediaries.com/nestjs-tutorial-jwt-authentication)
> [Nest.js Tutorial: File Uploading with Multer and Serving Static Files in Nest](https://www.techiediaries.com/nestjs-upload-serve-static-file)
```bash
$ git clone https://github.com/techiediaries/nestjs-upload-serve-file.git
```
## Installation
```bash
$ cd nestjs-upload-serve-file
$ 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).