A Web App like Ruby on Rails with Koa2, Webpack and Postgres
Alternatives To Kails
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Postgraphile11,93976994 days ago156May 25, 202266mitTypeScript
Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!
3 months ago3mitJavaScript
A Web App like Ruby on Rails with Koa2, Webpack and Postgres
React Universal303
8 years ago4JavaScript
React, redux, react-router, graphql, postgres, koa, universal starter-kit
Javascript Boilerplate251
4 years ago9JavaScript
Node.js+Koa.js+PostgreSQL+React.js+Webpack+Mocha+Makefile, a starter kit for new apps
Atlas Of Thrones233
3 years ago6otherJavaScript
An interactive "Game of Thrones" map powered by Leaflet, PostGIS, and Redis.
Koa Skeleton213
5 years ago1November 27, 20177JavaScript
🗺 a simple app that demonstrates koa + postgres + other useful abstractions
3 years ago1Python
TencentCloud Serverless
Node Koa Api116
5 years ago2mitJavaScript
Contentjet Api85
4 years ago2mitTypeScript
Headless API-first content management system
Puresql48117 months ago15March 22, 20222JavaScript
ES6/7 ready SQL library for node.js inspired by Clojure's yesql
Alternatives To Kails
Select To Compare

Alternative Project Comparisons


Build Status

A Web App like Ruby on Rails with Koa2, Webpack and Postgres.

This project is like Ruby on Rails Project:

  • MVC
  • Database (postgres), ORM(sequelize)
  • migration(sequelize-cli)
  • assets compile(webpack)
  • Session
  • Password with bcrypt
  • Testing (mocha)
  • Lint (eslint)
  • middlewares
  • console
  • server side render with react
  • flash message


  • node >= 14.0.0
  • yarn


  • User system
  • Post article with markdown editor
  • Hacker news middle layer


├── app
│   ├── assets
│   │   ├── images
│   │   ├── javascripts
│   │   └── stylesheets
│   ├── controllers
│   ├── helpers
│   ├── models
│   ├── routes
│   ├── services
│   ├── views
│   └── index.js
├── config
│   ├── config.js
│   └── webpack
│       ├── base.js
│       ├── development.js
│       └── production.js
├── db
│   └── migrations
├── index.js
├── package.json
├── public
└── test

Build development environment on localhost

  1. install nodejs
  2. install redis and postgres
  3. create postgres database: for development { database: 'kails_dev', owner: 'kails_dev', password: 'kails_dev' } for test { database: 'kails_test', owner: 'kails_tester', password: 'kails_tester' }
  4. clone and start this project
git clone https://github.com/embbnux/kails.git
yarn db:migrate
yarn assets_build
yarn start
  1. Visit http://localhost:3000/
  2. console
$ yarn console
> models.User.create({ name: 'test', email: '[email protected]', password: '12345678', passwordConfirmation: '12345678' }).then(function(user) { console.log(user) })
> models.User.findOne({ where: { email: '[email protected]' } }).then(function(user) { console.log(user) })

Deploy on production

How to Deploy Kails

How to Deploy Kails With Docker

Commands with yarn

# migrate database
yarn db:migrate
NODE_ENV=test yarn db:migrate
# run for development. it start app and webpack dev server
yarn start
# run the app
yarn app
# run the lint
yarn lint
# run test
yarn test
# deploy
yarn build
yarn assets_compile
NODE_ENV=production npm run db:migrate
yarn pm2
# console
yarn console





Popular Postgresql Projects
Popular Koa Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Ruby On Rails