Commit project
This commit is contained in:
parent
28471965a0
commit
3ac017a5ad
1030 changed files with 94062 additions and 0 deletions
34
README.md
Normal file
34
README.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Node server
|
||||
|
||||
A server in Node JS to hold transactions for Gift and Loyalty cards.
|
||||
|
||||
# Installing
|
||||
|
||||
Install [Node JS](https://nodejs.org) by following the instructions on their webpage. NPM will also be necessary, but the installation of Node JS should have it bundled.
|
||||
|
||||
Install MongoDB.
|
||||
|
||||
Clone this repository.
|
||||
|
||||
Install packages
|
||||
|
||||
```sh
|
||||
$ cd cluster-server
|
||||
$ npm install
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
||||
The following command will start the server:
|
||||
|
||||
### On Windows
|
||||
|
||||
```sh
|
||||
$ npm run devwin
|
||||
```
|
||||
|
||||
### On Mac / Linux
|
||||
|
||||
```sh
|
||||
$ npm run dev
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue