Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

devillecodes/koa-starter

Repository files navigation

koa-starter

Project Status

wercker status

Contributing to the project

Please feel free to submit a PR if you'd like to suggest changes and improvements.

Overview

The project provides a simple node application with

Getting started

  1. clone the project from https://github.com/devillexio/koa-starter
  2. run npm install to install dependencies
  3. run npm run develop to start the project with live code refresh. Any changes to *.js files in app will result in a reload.

Code Style and Linting

To ensure that code style and practices are kept consistent, this project includes

NPM Tasks

Some NPM tasks are included to simplify the workflow:

  • npm start - Will run the application with the node app/app.js command.
  • npm run develop - Launch the application with 'nodemon'. App will restart when any js file in 'app' is modified.
  • npm run lint - Lints the JavaScript files in 'app'.

Environment Variables (.env)

Environment variables (accessed through process.env) are managed by dotenv.

Please do not commit environment variables to source control. This could be a significant security risk.

For local development, please add environment variables in a .env file in the project root.

About

Simple starter project for koa (http://koajs.com)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published