Skip to content

stdmedoth/NodeControllerGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node Controller Generator

API creator by mysql database

Ever needed to create a quick api in node js without needing to program? This package allows you to do this with just one command.

The api will be based on your database tables, it will work with all columns

The add, get, delete, update routes will be generated for each of your tables in the SQL database

//create the object and call the api creator
const creator = require('nodecontrollercreator');
creator.set_dbconf({
  host: "localhost",
  user: "root",
  password: "1234",
  database: "database"
})
creator.create_api();


//note that an api was generated in the execution directory
cd api
npm install
node server.js

enjoy your api

Creator João Victor Calisto (stdmedoth) jovictor210@gmail.com

About

Criador de api pelo banco de dados mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published