https://github.com/miftah-mj/espresso-server
This is the server for the Espresso Emporium application. It is built using Node.js, Express, and MongoDB.
https://github.com/miftah-mj/espresso-server
backend express server
Last synced: about 1 year ago
JSON representation
This is the server for the Espresso Emporium application. It is built using Node.js, Express, and MongoDB.
- Host: GitHub
- URL: https://github.com/miftah-mj/espresso-server
- Owner: miftah-mj
- Created: 2024-12-03T13:56:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-18T08:12:56.000Z (over 1 year ago)
- Last Synced: 2025-02-05T17:49:45.005Z (over 1 year ago)
- Topics: backend, express, server
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Espresso Emporium Server
This is the server for the Espresso Emporium application. It is built using Node.js, Express, and MongoDB.
## Prerequisites
- Node.js
- npm (Node Package Manager)
- MongoDB
## Installation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/espresso-emporium-server.git
cd espresso-emporium-server
```
2. Install the dependencies:
```sh
npm install
```
3. Create a `.env` file in the root directory and add your MongoDB credentials:
```env
PORT=5000
DB_USER=your_db_user
DB_PASS=your_db_password
```
## Running the Server
To start the server, run:
```sh
npm start