An open API service indexing awesome lists of open source software.

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

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