Skip to content

davidep87/koa2-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Known Vulnerabilities

Info: General project information

Stack: Node.JS (7.7.1) - KoaJS (2) - Sequelize (Postgres) - Redis - React - Redux - NGINX

How to Start the App

  • Install yarn:
    • MAC: brew install yarn
    • Linux: sudo apt-get update && sudo apt-get install yarn
    • Win: choco install yarn || scoop install yarn
  • Install NGINX, Redis, Postgresql
  • in the main directory type:
    • $ yarn install
    • $ sudo npm install -g pm2
    • $ sudo npm install -g eslint
    • $ yarn [options]
      • options:
        • dev ( development )
        • prod ( production )
        • logs ( see logs )
        • start:hot ( start webpack webserver hot)
        • webpack:color ( watch progress color )
        • build ( classic build )
        • doc ( generate documentation )

How to modify database structure with sequelize:

  • Create a migration file running this command example in the main dir of the project:
    • $ sequelize migration:create --name "nameOfMigrationFile" --migrations-path migrations/
  • Write logic to change db structure in the new generated file in migrations/
  • Run the command sequelize db:migrate to update database structure

BackEnd

  • HTTP / HTTP2 / SSL Support
  • Sequelize ORM
  • Redis Session Handler
  • Auth Middleware

frontend

  • React
  • Semantic-UI
  • Draft-js rich text editor framework
  • Website
  • Dashboard
    • Login / Logout
    • [] Main dashboard view
    • Settings

NOTE: This is not a completed boilerplate (React is not using PROPTYPES)

About

Koa React Boilerplate

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published