33 lines
523 B
Markdown
33 lines
523 B
Markdown
# Dine360 Ads - Backend
|
|
|
|
Node.js + Express backend for Dine360 Ads platform.
|
|
|
|
## Setup
|
|
|
|
1. Install dependencies:
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
2. Copy `.env.example` to `.env` and fill in your database credentials:
|
|
```
|
|
DB_HOST=
|
|
DB_USER=
|
|
DB_PASS=
|
|
DB_NAME=
|
|
PORT=5000
|
|
```
|
|
|
|
3. Create the `uploads/` directory:
|
|
```bash
|
|
mkdir uploads
|
|
```
|
|
|
|
4. Start the server:
|
|
```bash
|
|
node server.js
|
|
```
|
|
|
|
## Notes
|
|
- `.env` and `uploads/` are excluded from version control — configure per environment.
|