Skip to content

REST API back-end for "kottans-stats". Based on Node.js/mongoDb/Express

Notifications You must be signed in to change notification settings

IgorKurkov/kottans-stats-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kottans-stats REST API

Backend for Kottans Statistics SPA app

Written with node.js, express, mongoDb.

Deployed and live now on HEROKU and MLAB.

commands to start locally

Start mongo: mongod --dbpath C:/projects/mongodb-data/db or npm run mongo-local

Start server: npm run start

dump db collection as json: mongoexport --host=127.0.0.1 --port 27017 --db Tododb --collection tasks --out ./dataset.json

dump whole db with BSON: mongodump --db Tododb --out ./dump restore db from local by bson (needed mongo shell v.4+): mongorestore --uri mongodb+srv://<dblogin>:<passwordOfDb>@<dbNameonCloud>.c6hyj.mongodb.net --db <dbNameonCloud> /dump/<dbnameonlocalhost>

About

REST API back-end for "kottans-stats". Based on Node.js/mongoDb/Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published