Skip to content

Creating a photo service using Nest.js. CRUD endpoints, Security is implemented and SQlite database was used.

Notifications You must be signed in to change notification settings

MohamadNach/photo-service

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

Description

Creating an CRUD API for photo service using Nest.js. The photo is taken by the user, which info is define in user table. The photo will be saved into photo table. User's profile is defined in profile table. The user will log in to the service using endpoint '/login' (using username and passport). Post, delete and update methods are protected, where the jwt token was used to implement the protection operation.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Creating a photo service using Nest.js. CRUD endpoints, Security is implemented and SQlite database was used.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published