https://github.com/delsner/sports-challenge-server
Backend for simple sports challenge app
https://github.com/delsner/sports-challenge-server
Last synced: about 1 month ago
JSON representation
Backend for simple sports challenge app
- Host: GitHub
- URL: https://github.com/delsner/sports-challenge-server
- Owner: delsner
- Created: 2017-01-11T22:34:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-11T22:35:57.000Z (over 9 years ago)
- Last Synced: 2025-01-10T09:41:32.708Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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/sports-challenge-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
```