Server Listing by default localhost:8000
$ cd server/ && yarn start
Client Listing by default localhost:3000
$ cd client/ && yarn start
Standard - JavaScript style guide, with linter & automatic code fixer. Standard - Rules
Run test Code Style
$ yarn test
$ git clone https://github.com/CyanJS/cyan.git
& cp server/.env-example.js server/.env.js && cp client/.env-example.js client/.env.js
It is recommended to create the development database in the mLab. Tutorial
Set configuration in file "server/.env.js". Example.
...
'mongoose': {
'connect': {
'host': '*****.mlab.com',
'port': '*****',
'user': 'userdb',
'password': 'password',
'base': '*****'
}
},
...
Set configuration in file "server/.env.js". Example.
...
'passport': {
'google': {
'id': '########.apps.googleusercontent.com',
'secret': 'secretKey',
...
Set configuration in file "server/.env.js". Example.
...
'passport': {
'jwt': {
'secret': 'secretKey'
}
...
The project using Yarn for install dependencies.
Install Yarn
$ npm install --global yarn
Install dependencies Client and Server
$ cd server/ && yarn && cd ../client/ && yarn && cd ../