Skip to content

This project is a Nest.js application that provides a comprehensive REST API for managing the `staff` table. The application is built using Node.js, TypeScript, and the TypeORM library for database interactions with MySQL.

Notifications You must be signed in to change notification settings

khachornchit/nodejs-service-public

Repository files navigation

Node.js API 2024

This project is a Nest.js application that provides a comprehensive REST API for managing the staff table. The application is built using Node.js, TypeScript, and the TypeORM library for database interactions with MySQL.

Overview

The Nest Staff API allows you to perform CRUD operations on the staff table. The main features include:

  • Retrieve all staff records
  • Retrieve a single staff record by ID
  • Create a new staff record
  • Update an existing staff record by ID
  • Delete a staff record by ID

Prerequisites

To run this project, you need to have the following installed on your machine:

  • Node.js v20.10 or later
  • Yarn v1.22 or later
  • MySQL 8
  • Nest CLI

Environment Variables

The application uses environment variables for configuration. Create a .env file in the root directory and add the following variables:

About

This project is a Nest.js application that provides a comprehensive REST API for managing the `staff` table. The application is built using Node.js, TypeScript, and the TypeORM library for database interactions with MySQL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published