https://github.com/arwebcs/express-tutorials
This is a simple project in Express JS
https://github.com/arwebcs/express-tutorials
Last synced: 10 months ago
JSON representation
This is a simple project in Express JS
- Host: GitHub
- URL: https://github.com/arwebcs/express-tutorials
- Owner: arwebcs
- Created: 2024-02-01T18:38:09.000Z (over 2 years ago)
- Default Branch: basic-tutorial
- Last Pushed: 2024-12-08T12:50:59.000Z (over 1 year ago)
- Last Synced: 2025-01-05T12:42:38.001Z (over 1 year ago)
- Language: JavaScript
- Size: 4.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Simple project in Express JS
This is a simple project in express, where Mongo, MySQL connection is covered. Both connections is used
##### Install
1. Install express generator
```
npx express-generator
npm install
```
2. Install database drivers
```
npm install mongoose --save
npm install mysql --save
npm install mysql2 --save
```
3. Created a **shared** folder where all models, connections etc. will be there
4. Install EJS Template engine for web page
```
npm install ejs
```
5. Install multer
```
npm install --save multer
```
**N.B. :**
1. The app is running in a default port : 3000
2. Setting template engine : ejs