This is a brief description of my project.
To get started, follow these steps:
- Run
npm init -yto create thepackage.jsonfile with default values. - Run
npm install express body-parser mysql2 cors multer formidable dotenvto install the required packages.
- express: Fast, unopinionated, minimalist web framework for Node.js.
- body-parser: Node.js body parsing middleware.
- mysql2: MySQL library for Node.js.
- cors: CORS middleware for Express.
- multer: Middleware for handling
multipart/form-data, useful for handling FormData from Vue.js applications in Node.js. - formidable: A Node.js module for parsing form data, including file uploads.
- dotenv: Dotenv is a zero-dependency module that loads environment variables from a . env file into process. env .
Provide information on how to use these packages in your project. อยากลืมสร้าง DataBase
Example Run
- Index.html เอาไปไหว C:\xampp\htdocs\vuemain
- ทำการ รัน node server.js เพื่อให้มีทำงานหรือกด run_server.bat หากขี้เกียจพิมพ์
- สร้างรันกับ https://github.com/pethzero/Angular_CRUD ได้