Skip to content

Commit

Permalink
Alive and kicking
Browse files Browse the repository at this point in the history
  • Loading branch information
neemzy committed Nov 16, 2020
1 parent 94b0f4d commit f6ee7b9
Show file tree
Hide file tree
Showing 5 changed files with 910 additions and 9 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# dpaste

## Requirements

- Node.js
- MongoDB

## Usage

```sh
$ npm install # install dependencies
$ npm start # run app at http://localhost:3001
```
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var express = require('express'),
mongoose = require('mongoose'),
app = express();

mongoose.connect('localhost', 'dpaste');
mongoose.connect('mongodb://localhost:27017/dpaste', { useNewUrlParser: true });

// Configuration
app.configure(function() {
Expand Down
Loading

0 comments on commit f6ee7b9

Please sign in to comment.