ts-node-crud-package
v1.0.2
Published
A simple CRUD package using TypeScript and Node.js
Downloads
13
Maintainers
Readme
ts-node-crud-package
A simple CRUD package using TypeScript and Node.js, with Express and MongoDB.
Installation
Global Dependencies
First, make sure you have TypeScript installed globally. If you encounter permission issues, consider one of the following solutions:
Using
sudo
(Linux/macOS):sudo npm install -g typescript
Changing npm's default directory:
mkdir "${HOME}/.npm-global" npm config set prefix "${HOME}/.npm-global" echo 'export PATH=$PATH:$HOME/.npm-global/bin' >> ~/.bashrc source ~/.bashrc npm install -g typescript
Using a Node version manager (
nvm
):curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash nvm install node nvm use node npm install -g typescript
Package Installation
To install the package in your project, run:
npm install ts-node-crud-package