suwanny / donejs-api-server-base

DoneJS API Server/Container Skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

donejs-api-server-base

DoneJS API Server/Container Skeleton

How to create your DoneJS app

$ npm install -g donejs
$ mkdir public
$ cd public

# create a DoneJS app
$ donejs add app my-app

# move all files to public folder
$ mv my-app/* .
$ rm -r my-app

How to run your app

$ npm install -g nodemon
$ npm install

# development
$ nodemon index

or

# production
$ NODE_ENV=production nodemon index

Related Links

About

DoneJS API Server/Container Skeleton

License:MIT License


Languages

Language:JavaScript 100.0%