All Projects → fadedDexofan → Koa Typeorm Starter

fadedDexofan / Koa Typeorm Starter

Licence: mit
Starter project for using koa with TS and TypeORM

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Koa Typeorm Starter

Node Typescript Koa Rest
REST API boilerplate using NodeJS and KOA2, typescript. Logging and JWT as middlewares. TypeORM with class-validator, SQL CRUD. Docker included. Swagger docs, actions CI and valuable README
Stars: ✭ 739 (+3113.04%)
Mutual labels:  rest-api, koa, jwt
Tsed
📐 Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone.
Stars: ✭ 1,941 (+8339.13%)
Mutual labels:  rest-api, koa, dependency-injection
Koa Vue Notes Api
🤓 This is a simple SPA built using Koa as the backend, Vue as the first frontend, and React as the second frontend. Features MySQL integration, user authentication, CRUD note actions, and async/await.
Stars: ✭ 342 (+1386.96%)
Mutual labels:  koa, jwt
Koa Template
Starter template for Nuxt.js with KoaJS.
Stars: ✭ 374 (+1526.09%)
Mutual labels:  koa, koajs
X Restful Api Generator Koa
一个基于 Koa 的 RESTful API 服务脚手架。 A RESTful API generator for Koa
Stars: ✭ 18 (-21.74%)
Mutual labels:  koa, jwt
Blog.core
💖 ASP.NET Core 6.0 全家桶教程,前后端分离后端接口,vue教程姊妹篇,官方文档:
Stars: ✭ 3,542 (+15300%)
Mutual labels:  jwt, dependency-injection
Koahub
KoaHub.js -- 中文最佳实践Node.js Web快速开发框架。支持Koa.js, Express.js中间件。当前项目已停止维护,推荐使用Doodoo.js
Stars: ✭ 308 (+1239.13%)
Mutual labels:  koa, koajs
Vue Chat
👥Vue全家桶+Socket.io+Express/Koa2打造一个智能聊天室。
Stars: ✭ 887 (+3756.52%)
Mutual labels:  koa, koajs
koa-server
🗄️ GraphQL Back-end Server with Relay, Koa, MongoDB and Mongoose
Stars: ✭ 31 (+34.78%)
Mutual labels:  koa, koajs
Dj Rest Auth
Authentication for Django Rest Framework
Stars: ✭ 491 (+2034.78%)
Mutual labels:  rest-api, jwt
Cerberus
A demonstration of a completely stateless and RESTful token-based authorization system using JSON Web Tokens (JWT) and Spring Security.
Stars: ✭ 482 (+1995.65%)
Mutual labels:  rest-api, jwt
Koajs Design Note
《Koa.js 设计模式-学习笔记》已完结 😆
Stars: ✭ 520 (+2160.87%)
Mutual labels:  koa, koajs
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-21.74%)
Mutual labels:  rest-api, jwt
polix
🚀 Node.js Web Framework
Stars: ✭ 32 (+39.13%)
Mutual labels:  koa, koajs
Guns
Guns基于SpringBoot 2,致力于做更简洁的后台管理系统,完美整合springmvc + shiro + mybatis-plus + beetl!Guns项目代码简洁,注释丰富,上手容易,同时Guns包含许多基础模块(用户管理,角色管理,部门管理,字典管理等10个模块),可以直接作为一个后台管理系统的脚手架!
Stars: ✭ 3,327 (+14365.22%)
Mutual labels:  rest-api, jwt
restria
Entria's REST API boilerplate
Stars: ✭ 25 (+8.7%)
Mutual labels:  koa, koajs
Service Pattern Go
Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.
Stars: ✭ 449 (+1852.17%)
Mutual labels:  rest-api, dependency-injection
mindjs
Minimalistic, pure Node.js framework superpowered with Dependency Injection 💡 💻 🚀
Stars: ✭ 17 (-26.09%)
Mutual labels:  dependency-injection, koajs
inversify-koa-utils
inversify-koa-utils is a module based on inversify-express-utils. This module has utilities for koa 2 applications development using decorators and IoC Dependency Injection (with inversify)
Stars: ✭ 27 (+17.39%)
Mutual labels:  koa, dependency-injection
Koa2 Note
《Koa2进阶学习笔记》已完结🎄🎄🎄
Stars: ✭ 4,725 (+20443.48%)
Mutual labels:  koa, koajs

Build Status GitHub issues Codacy Badge GitHub license

koa-typeorm-starter

Starter project for using koa with TypeScript and TypeORM

Prerequisites

  • Node 10 or higher (you can try to manage your versions using nvm)
  • Yarn package manager or you need to generate package-lock.json by yourself

Installing

  • Set up your database and make sure you change the config to your own setup. You can find your database config under config/ormconfig.json for your development environment. Change accordingly to your chosen environment (development/test/production)

    {
      "type": "postgres",
      "host": "localhost",
      "port": 5432,
      "username": "username",
      "password": "password",
      "database": "database",
      "logging": false
    }
    

    For more info like supported database driver visit TypeORM.

  • And start your application by running this in the terminal. This would watch for changes and rebuild(transpiled) your application

    $ npm run debug
    

    With that, you can see in your terminal and logs that the app is ready to listen for requests. For example:

    [2018-06-04T01:55:18.426Z] [info]: Server started at http://localhost:3000 NODE_ENV=development
    

    For run in production run this in terminal:

    $ npm run start
    

    If you want to use pm2 check it's config in ecosystem.config.json and the run:

    $ npm run pm2
    

Also if you run on production don't forget to check logs in dirname/logs to make sure that the startup is successful

Running the tests

To run the test suites, type in your terminal

$ npm run test

Or per test type

$ npm run e2e:test
$ npm run unit:test

Built With

Contributing

Open for pull requests!

Authors

Big thanks to JM Santos for similar Express starter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].