# Mongo Express Boilerplate
## API Specification
## Table of Contents
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Running Development Server](#running-development-server)
- [Using npm](#npm)
- [Using yarn](#yarn)
- [Running Production Server](#running-production-server)
- [Using npm](#npm)
- [Using yarn](#yarn)
- [Folder Structure](#folder-structure)
- [Available Scripts](#available-scripts)
- [yarn test](#test)
- [Running Tests](#running-tests)
- [Break Down to End to End Tests](#break-down-to-end-to-end-tests)
- [Deployment](#deployment)
- [Built With](#built-with)
- [Database/Storage](#store)
- [MongoDB](#mongodb)
- [S3](#s3)
- [Commit Message Guidelines](#commit-message-guidlines)
- [Commit Message Format](#commit-message-format)
- [Revert](#revert)
- [Type](#type)
- [Scope](#scope)
- [Subject](#subject)
- [Body](#body)
- [Footer](#footer)
- [Branch Management](#branch-management)
- [Versioning](#versioning)
- [Authors](#authors)
- [Contributing](#contributing)
- [License](#license)
- [Acknowledgements](#acknowledgements)
## Prerequisites
**You’ll need to have Node 8.10.0 or later on your local development machine**. You can use [nvm](https://github.com/creationix/nvm#installation) (macOS/Linux) or [nvm-windows](https://github.com/coreybutler/nvm-windows#node-version-manager-nvm-for-windows) to easily switch Node versions between different projects.
Node.js. That's all you need.
```sh
node -v // v9.2.0
```
## Getting Started
### Running Development Server
#### npm
Run server
```sh
npm install
npm dev
```
Open a new terminal to run database
```sh
```
#### yarn
Run server
```sh
yarn
yarn dev
```
Open a new terminal to run database
```sh
```
### Running Production Server
#### npm
Run server
```sh
npm install
npm prod
```
Open a new terminal to run database
```sh
```
#### yarn
Run server
```sh
yarn
yarn prod
```
Open a new terminal to run database
```sh
```
## Folder Structure
```
express-mongo-boilerplate
├── README.md
├── LICENSE.md
├── tmp
├── node_modules
├── package.json
├── .gitignore
├── config
│ ├── .env.example
│ ├── .env.development
│ ├── .env.staging
│ ├── .env.production
│ └── env.js
├── src
│ ├── bin
│ ├── db
│ ├── routes
│ ├── controllers
│ ├── middlewares
│ ├── utils
│ └── app.js
└── index.js - Entry point
```
## Available Scripts
### Server
#### Test
Preparing...
Maybe like this
```sh
yarn test
```
So simple!
Actually, it's just a plan yet.
### Client
Will make new repository soon.
## Running Tests
### Break down into end to end tests
Will be prepared
## Deployment
Additional notes about how to deploy this on a live system will be added soon.
## Built for
* [Node.js](https://nodejs.org/ko/) - Used to build server.
> Note: Planing to use
* [AWS S3](https://aws.amazon.com/s3/?nc1=h_ls) - Amazon S3(Simple Storage Service) is an object storage service that offers nice scalability, data availability, security, and performance.
* [Circle CI](https://circleci.com/) - Continuous Integration. (TODO)
* [MongoDB](https://www.mongodb.com/) - Widely used free to use NoSQL database.
* [Docker](https://www.docker.com/) - Containerizate software. (TODO)
## Database
### MongoDB
Data will be stored in MongoDB.
Can specify MongoDB URI in environment variable MONGODB_CONNECTION_URL
This variable(*MONGODB_CONNECTION_URL*) *is required* to run the server
Configuration can be found in ./src/db/index.js
### S3
S3 can be configured with 4 environment variables
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
AWS_S3_BUCKET_NAME
## Commit Message Guidelines
I referred [Google's Angular JS's contributor's commit message guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines) to format commit messages. This leads to more **unified** and **readable messages** helping further history lookups and even CI integrations.
By the way, this repository's commit messages format is not exactly same as the one suggested above.
### Commit Message Format
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
format that includes a **type**, a **scope** and a **subject**:
```
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
```
The **header** is mandatory and the **scope** of the header is optional.
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
to read on GitHub as well as in various git tools.
Samples: (even more [samples](https://github.com/sparcs-kaist/zabo-server-nodejs/commits/master))
```
docs(README): update README adding instruction on how to start docker on EC2
```
```
build(babel): Add babel preset-env
Add @babel/core, @babel/preset-env and register with @babel/register.
Entry point of the application is set to be bin/www_es6.js
Refer to the package.json file to fidn out more.
```
### Revert
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
### Type
Should be one of the following:
* **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
* **ci**: Changes to our CI configuration files and scripts (example scopes: Circle, BrowserStack, SauceLabs)
* **docs**: Documentation only changes
* **feat**: A new feature
* **fix**: A bug fix
* **perf**: A code change that improves performance
* **refactor**: A code change that neither fixes a bug nor adds a feature
* **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
* **test**: Adding missing tests or correcting existing tests
* **misc**: Adding miscellaneous items
### Scope
There's no specific recommendations for naming scope yet.
Feel free to write your own scopes.
### Subject
The subject contains a succinct description of the change:
* use the **imperative, present tense**: "change" not "changed" nor "changes"
* **do capitalize** the first letter
* no dot (.) at the end
### Body
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
If the commit derives changes from previous behavior, the body should include the motivation for the change and contrast this with previous behavior.
### Footer
The footer should contain any information about **Breaking Changes** and is also the place to
## Branch Management
I use [git-flow](https://danielkummer.github.io/git-flow-cheatsheet/index.html) to manage branches. For branch history, see the [branches on this repository](https://github.com/jungdj/mia/branches).
## Contributing
Anyone can freely contribute on this repository.
If you have questions, do not hesitate to contact.
## Versioning
I use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/jungdj/express-mongo-boilerplate/tags).
## Authors
* **jungdj** - [jungdj](https://github.com/jungdj)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
没有合适的资源?快使用搜索试试~ 我知道了~
自动化网络视频编辑工具_PureBasic_代码_下载
共203个文件
js:57个
py:44个
svg:15个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 92 浏览量
2022-07-02
23:05:27
上传
评论
收藏 81.67MB ZIP 举报
温馨提示
人工智能效果 项目介绍 支持的功能 一个。识别面孔并模糊陌生人的面孔 b. 自动添加字幕(由扬声器不同的颜色) c。自动消除口吃或颤动 d. 通过找到相同的姿势连接视频 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
自动化网络视频编辑工具_PureBasic_代码_下载 (203个子文件)
_redirects 24B
res10_300x300_ssd_iter_140000.caffemodel 10.17MB
pafprocess_wrap.cpp 172KB
pafprocess.cpp 9KB
index.css 717B
App.css 0B
pafprocess_wrap.cxx 172KB
BebasNeue-Regular.eot 24KB
.env.example 0B
face_landmark_68_model-shard1 348KB
face_landmark_68_tiny_model-shard1 75KB
face_recognition_model-shard1 4MB
face_recognition_model-shard2 2.15MB
.flaskenv 145B
intro.gif 5.1MB
upload.gif 4.77MB
.gitignore 458B
.gitignore 270B
.gitignore 5B
pafprocess.h 1KB
index.html 2KB
index.html 196B
numpy.i 107KB
pafprocess.i 559B
favicon.ico 22KB
youns.jpeg 207KB
concatenate.jpg 1.14MB
blur.jpg 842KB
subtitle.jpg 502KB
stutter.jpg 482KB
gogi.jpg 154KB
dj.jpg 130KB
seol.jpg 109KB
video.js 7KB
Dashboard.js 6KB
mocks.js 6KB
ml.utils.js 5KB
VideoRecord.js 5KB
serviceWorker.js 5KB
ProfileList.js 4KB
VideoEdit.js 3KB
VideoInput.js 3KB
FaceBlur.js 3KB
helper.js 2KB
TongueSlip.js 2KB
Subtitles.js 2KB
Features.js 2KB
Intro.js 2KB
PoseProgress.js 2KB
App.js 2KB
KnownPeople.js 2KB
Pose.js 2KB
UploadedVideos.js 2KB
app.js 2KB
mixins.js 1KB
index.js 1KB
error.js 1KB
index.js 1005B
VideoWIthOverlay.js 937B
api.js 934B
user.js 917B
index.js 900B
network.js 849B
Main.js 803B
Spinner.js 728B
storage.js 714B
config-overrides.js 673B
aws.js 639B
index.js 622B
index.js 584B
Preview.js 576B
env.js 569B
usePromise.js 515B
index.js 414B
PageTemplate.js 374B
variables.js 321B
ProfileCheck.js 321B
methods.js 278B
user.js 278B
App.test.js 248B
index.js 228B
video.utils.js 227B
useSetState.js 226B
debug.js 224B
ecosystem.config.js 219B
schema.js 168B
schema.js 168B
resolver.js 131B
NetflixHome.js 88B
index.js 78B
childrenFaces.json 627KB
package-lock.json 555KB
bezos_tracking.json 323KB
ssd_mobilenetv1_model-weights_manifest.json 26KB
face_recognition_model-weights_manifest.json 18KB
face_landmark_68_model-weights_manifest.json 8KB
face_landmark_68_tiny_model-weights_manifest.json 4KB
mtcnn_model-weights_manifest.json 3KB
tiny_face_detector_model-weights_manifest.json 3KB
package.json 2KB
共 203 条
- 1
- 2
- 3
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9149
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 遥感影像共享-JAVA-基于SpringBoot的遥感影像共享系统设计与实现
- 自习室系统-JAVA-基于springboot的自习室座位预约系统设计与实现
- 人工智能大作业-人脸识别
- 小区停车场-JAVA基于springBoot的小区停车场管理系统设计与实现
- STM32+ESP8266(ESP32)+MQTT+阿里云物联网平台
- 机械自动化与机器人控制中的速度与雅克比矩阵计算
- springboot社区医院信息平台(代码+数据库+LW)
- STM32+ESP8266(ESP32)+MQTT+阿里云物联网平台
- 宠物管理-JAVA-基于springBoot宠物管理系统设计与实现
- X230安装Sonoma成功 博通BCM94352HMB网卡 扩展坞引线改屏1080P
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功