-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43b0dfa
commit 8250ff1
Showing
4 changed files
with
40 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node_modules | ||
npm-debug.log | ||
node_modules | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM node:8.9-alpine | ||
|
||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
COPY package.json /usr/src/app | ||
COPY package-lock.json /usr/src/app | ||
RUN npm install | ||
|
||
COPY . /usr/src/app | ||
|
||
EXPOSE 4000 | ||
CMD ["npm", "start"] | ||
FROM node:8.9-alpine | ||
|
||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
COPY package.json /usr/src/app | ||
COPY package-lock.json /usr/src/app | ||
RUN npm install | ||
|
||
COPY . /usr/src/app | ||
|
||
EXPOSE 4000 | ||
CMD ["npm", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# AMK | ||
|
||
Amk is a no frills opinionated express api server seed. | ||
it lets you skip all the tediuos process of thinking how to deal with folder structures, just donwload and then use | ||
|
||
## How to use: | ||
1. clone this repository | ||
2. copy this to a different folder | ||
3. write your code | ||
|
||
## Elements | ||
- controller | ||
- model | ||
- lib | ||
- middleware | ||
- service | ||
- validator | ||
- routes | ||
|
||
## Tests | ||
- test/index.js | ||
# AMK | ||
|
||
Amk is a no frills opinionated express api server seed. | ||
it lets you skip all the tediuos process of thinking how to deal with folder structures, just donwload and then use | ||
|
||
## How to use: | ||
1. clone this repository | ||
2. copy this to a different folder | ||
3. write your code | ||
|
||
## Elements | ||
- controller | ||
- model | ||
- lib | ||
- middleware | ||
- service | ||
- validator | ||
- routes | ||
|
||
## Tests | ||
- test/index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
test/**/*.js | ||
--reporter spec | ||
--reporter-options output=mocha.json | ||
--check-leaks | ||
test/**/*.js | ||
--reporter spec | ||
--reporter-options output=mocha.json | ||
--check-leaks |