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.
- npm install
- npm 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
- GET - localhost:3000/getalluser
- POST - localhost:3000/service/login