MCPcopy Index your code
hub / github.com/brianschardt/node_rest_api_mysql

github.com/brianschardt/node_rest_api_mysql @v0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.1 ↗ · + Follow
15 symbols 17 edges 20 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Rest Api Node and Mysql

Description

This is an Restful API for Node.js and Mysql. Designed after PHP's beautiful Laravel. This is in the MVC format, except because it is an API there are no views, just models and controllers.

tutorial can be found here: https://medium.com/@brianalois/build-a-rest-api-for-node-mysql-2018-jwt-6957bcfc7ac9

Routing : Express
ORM Database : Sequelize
Authentication : Passport, JWT

Installation

Donwload Code | Clone the Repo

git clone {repo_name}

Install Node Modules

npm install

Create .env File

You will find a example.env file in the home directory. Paste the contents of that into a file named .env in the same directory. Fill in the variables to fit your application

Core symbols most depended-on inside this repo

getUniqueKeyFromBody
called by 2
services/AuthService.js
create
called by 0
controllers/CompanyController.js
getAll
called by 0
controllers/CompanyController.js
get
called by 0
controllers/CompanyController.js
update
called by 0
controllers/CompanyController.js
remove
called by 0
controllers/CompanyController.js
Dashboard
called by 0
controllers/HomeController.js
create
called by 0
controllers/UserController.js

Shape

Function 15

Languages

TypeScript100%

Modules by API surface

controllers/UserController.js5 symbols
controllers/CompanyController.js5 symbols
services/AuthService.js3 symbols
middleware/custom.js1 symbols
controllers/HomeController.js1 symbols

For agents

$ claude mcp add node_rest_api_mysql \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact