Skip to content

sudippal/node-webpack-express-mysql-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-webpack-express-mysql-seed

This is a seed project for creating endpoints(APIs) using express. Connecting mysql db via pool service and returning the JSON formatted string as an API response. Using Webpack to compile the project.

Installation & Start

  • npm install
  • npm start

Before Start

  • Create mysql database
  • Use the DB and create table and insert the data(use db.sql)
  • Update the host, user, password and database name

API endpoints

  • GET - localhost:3000/getalluser
  • POST - localhost:3000/service/login

About

Quick guide to create APIs using node, express and mysql

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published