NestServerBasic

screenshot of NestServerBasic

A template to start the development of a server with inside the management of users, authentication and connection with MongoDB using Nestjs.

Overview

This product analysis discusses a script that requires setup through an .env file. The script involves connecting to a MongoDB database cluster and provides a list of available endpoints for various user actions. The script also includes a developer mode similar to nodemon. The author of this script is Guazzo Gianmarco.

Features

  • Environment Setup: Create an .env file and add parameters such as server port, MongoDB connection string, JWT secret, and node environment.
  • MongoDB Cluster: Set up a free MongoDB cluster to create collections of records for the application.
  • Endpoint List: The script provides a list of available endpoints including getting a list of all users, getting a specific user, creating a new user, logging in a user, refreshing a token, and getting user information.
  • Developer Mode: The script includes a developer mode similar to nodemon.

Summary

This script requires an .env file for setup and connects to a MongoDB cluster. It provides various endpoints for user actions such as getting a list of users, getting a specific user, creating a new user, logging in a user, and getting user information. Additionally, it offers a developer mode similar to nodemon.