Skip to content

Rampesna/nest-js-core

Repository files navigation

NestJsCore

NestJsCore is open sourced project that provides a core for NestJs applications. It is based on NestJs framework and provides a set of features that are common for most of the applications. This framework is designed to be used as a core for your application. It provides a set of features that are common for most of the applications.

This framework supportting the following features:

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Test Endpoints

Register

curl --location --request POST 'http://HOST:PORT/api/user/auth/register' \
--header 'Accept: application/json' \
--data-raw '{"email": "example@email.com", "password": "password"}'

Login

curl --location --request POST 'http://HOST:PORT/api/user/auth/login' \
--header 'Accept: application/json' \
--data-raw '{"email": "example@email.com", "password": "password"}'

Get All Users

curl --location --request GET 'http://HOST:PORT/api/user/user/getAll' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer tokenFromLoginRequest' \
--data-raw ''

Support

NestJsCore is an MIT-licensed open source project built with using NestJs. It can grow thanks to the sponsors and support by the amazing backers.

License

NestJsCore MIT licensed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published