https://github.com/delsner/newsletter-server
  
  
    This is the server-side for the newsletter app. 
    https://github.com/delsner/newsletter-server
  
        Last synced: 8 days ago 
        JSON representation
    
This is the server-side for the newsletter app.
- Host: GitHub
- URL: https://github.com/delsner/newsletter-server
- Owner: delsner
- Created: 2016-12-22T10:33:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T03:10:29.000Z (over 2 years ago)
- Last Synced: 2025-01-10T09:41:38.394Z (10 months ago)
- Language: JavaScript
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
- 
            Metadata Files:
            - Readme: README.md
 
Awesome Lists containing this project
README
          ## Prerequisites
## Setup (before first run)
go to your project root folder via command line
```
cd path/to/workspace/newsletter-server
```
**install node dependencies**
```
npm install
```
**set up your database**
* create a new directory where your database will be stored (it's a good idea to separate data and business logic - the data directory should be on a different place than your app)
* start the database server
```
mongod --dbpath relative/path/to/database
```
## running
start the web server
```
node server.js
```