Skip to content

raphaellins/cyan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cyan

Run project

Server Listing by default localhost:8000

$ cd server/ && yarn start

Client Listing by default localhost:3000

$ cd client/ && yarn start

Code Style - JavaScript Standard Style

Standard - JavaScript style guide, with linter & automatic code fixer. Standard - Rules

Run test Code Style

$ yarn test

Install Project

Clone Project

$ git clone https://github.com/CyanJS/cyan.git

Create "Environment" files

& cp server/.env-example.js server/.env.js && cp client/.env-example.js client/.env.js

MongoDB

It is recommended to create the development database in the mLab. Tutorial

Config connection MongoDB(Mongoose)

Set configuration in file "server/.env.js". Example.

  ...
  'mongoose': {
    'connect': {
      'host': '*****.mlab.com',
      'port': '*****',
      'user': 'userdb',
      'password': 'password',
      'base': '*****'
    }
  },
  ...

Config Google Auth

Set configuration in file "server/.env.js". Example.

  ...
  'passport': {
    'google': {
      'id': '########.apps.googleusercontent.com',
      'secret': 'secretKey',
  ...

Config JWT secret token

Set configuration in file "server/.env.js". Example.

  ...
  'passport': {
    'jwt': {
      'secret': 'secretKey'
    }
  ...

Dependencies

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 ../

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.7%
  • CSS 6.2%
  • HTML 1.1%