Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app
.gitignore
README.md
icon.png
package.json
yarn.lock

README.md

Requirements:

  • Node.js
  • MongoDB

Installation

Installing MongoDB on Linux Arch (or Linux whatever-else)

If using Arch Linux, go to terminal, type

sudo pacman -S mongodb
yaourt -S boost-libs

Note: if you have installed other pacman wrapper than yaourt then you obviously need to use installed one. If you have no clue what all of this means read https://wiki.archlinux.org/index.php/Arch_User_Repository

After that yarn mongo should work perfectly fine.

If using other Linux distribution you need to download mongodb from https://docs.mongodb.com/manual/administration/install-on-linux/ and install it. If you do not have boost libraries you need to download them too from http://www.boost.org/.

Required tools

npm i -g nodemon
npm i -g mongod
npm i -g yarn

installing dependencies

yarn

Development:

yarn start

Seeding data:

It will add sample data into database

node app/seed.js

Server:

yarn mongo
yarn start
You can’t perform that action at this time.