Skip to content
NodeJS api using koa & mysql
TSQL TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
src
test
.eslintrc
.gitignore
README.md
package-lock.json
package.json
settings.json
tsconfig.json

README.md

NODE JS API

Api using Koa2, MySQL & TypeScript

Requirements:

  • nodejs >= 10.12.0
  • mysql server

Usage

preparations:

  • git clone
  • run npm i
  • look at settings.json. Either create DB and user with same data or replace this data with actual
  • run npm run setup to setup db

To run tests:

npm t

To run app:

npm build && npm start

Application is running on the 3080 port

To run app in the dev mode (watch files changes):

npm run start:dev

Application is running on the 3080 port

You can’t perform that action at this time.