Skip to content

iphyokafor/nudgyt-test

Repository files navigation

Nudgyt-test

The goal is to create a Server application with Nest.js written in TypeScript with the following requirement :

  • The application can start with only two commands:

    npm install

    and

    npm start
  • The application has a system of authentication. I need to be able to register and I need to be able to log in.

  • The application has a call allowing a registered user only to see all the users created.

API Endpoints

The API provides the following features or endpoints:

 Register a user

 Login user

 Fetch all users

 Update a user

Description

This app was built with Nest framework TypeScript starter repository.

Documentation

Deployment

Installation

$ npm install

Setup Environment Variables

Create a .env file in your root directory with the variables specified in config/env.configuration.ts

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

Stay in touch

About

Authentication and Authorization using NestJs, JWT, MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published