easy-crud-generate
v1.0.1
Published
easy instalation and use of mysql2 to help people to make CRUD
Downloads
4
Readme
About The Project
This project have been developed when I needed to connect fast and easily to my local database at the development environment. So to do it fast and simple, this NPM Package helps me to do that by installing the dependencies needed, creating the connection and creating the .env and .gitignore files to keep the passwords safe.
Getting Started
1- Install the package
npm i easy-crud-generate
2- If you dont have the dotenv and mysql2 instaled to you project the package installation you do it. If it doesn't install, do it manually;
npm i dotenv
npm i mysql2
3- After the instalation, at your terminal run the node easy-crud to create your .env and .gitignore files. They will be created in the /easy-crud
folder.
4- Enter your credentials in .env
file.
HOST=
USER=
PASSWORD=
DATABASE=