Skip to content

Melima-Project/me-core

Repository files navigation

Open-source ordering system

Homepage | Twitter | Reddit | Melima Group Chat | Steemit

me-core

Melima Core

Melima backend based on LoopBack framework.

Using LoopBack helps us create fast and efficient API and removes various DBs integration hassle.

Current melima core version configured for PostgresSQL, but thanks to LoopBack you can connect any popular database.

Prerequirements

Node.js, PostgresSQL (or another LoopBack supported database)

Recommended Node.js and PostgresSQL repositories:
https://github.com/nodesource/distributions
https://www.postgresql.org/download/linux/ubuntu/
https://www.postgresql.org/download/linux/redhat/

Optional

Change npm's default directory to a local one

mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH="$HOME/.npm-global/bin:$PATH"  # ← put this line in .bashrc
source ~/.bashrc  # if you only updated .bashrc

Installation

Execute npm install from me-core directory.

git clone https://github.com/Melima-Project/me-core/
cd me-core/
npm -g install

Getting Started

Take a look at the getting started guide.