https://github.com/oleg-koval/ya-skeleton
💀 Dockerized skeleton based on express.js framework, with mongo (mongoose) support
https://github.com/oleg-koval/ya-skeleton
boilerplate-template dockerized-express express express-mongoose express-skeleton expressjs mongodb mongoose node node-js node-skeleton nodejs rest rest-api skeleton
Last synced: about 1 year ago
JSON representation
💀 Dockerized skeleton based on express.js framework, with mongo (mongoose) support
- Host: GitHub
- URL: https://github.com/oleg-koval/ya-skeleton
- Owner: oleg-koval
- License: mit
- Created: 2018-02-28T14:32:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-16T11:50:43.000Z (over 1 year ago)
- Last Synced: 2025-03-24T22:43:13.053Z (about 1 year ago)
- Topics: boilerplate-template, dockerized-express, express, express-mongoose, express-skeleton, expressjs, mongodb, mongoose, node, node-js, node-skeleton, nodejs, rest, rest-api, skeleton
- Language: JavaScript
- Homepage:
- Size: 1.12 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 79
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# ya_skeleton
[](https://www.codacy.com/app/oleg-koval/ya-skeleton?utm_source=github.com&utm_medium=referral&utm_content=oleg-koval/ya-skeleton&utm_campaign=Badge_Grade) [](https://greenkeeper.io/) [](https://travis-ci.org/oleg-koval/ya-skeleton) [](https://github.com/markelog/eslint-config-sexy) [](https://github.com/semantic-release/semantic-release) [](https://bettercodehub.com/)
> Dockerized skeleton based on expressjs framework, with mongo support
This repo contains `.env` file which should be definetely added to `.gitignore`, but in this case it is just an example. Be sure to add this file to your ignore!
## Installation
This is a [Node.js](https://nodejs.org/) skeleton.
## Run the server
First of all follow [this guide](https://docs.docker.com/compose/install/) for docker && docker-compose installation. Be sure to have latest versions installed.
To run server and mongodb in containers:
```sh
docker-compose build && docker-compose up
```
## Tests
Locally with npm (be sure to have installed & running Mongo service and NodeJS):
```sh
npm install
npm test
```
Run tests in Docker:
```sh
npm run test:docker
```
## Dependencies
- [bluebird](https://ghub.io/bluebird): Full featured Promises/A+ implementation with exceptionally good performance
- [body-parser](https://ghub.io/body-parser): Node.js body parsing middleware
- [cors](https://ghub.io/cors): Node.js CORS middleware
- [express](https://ghub.io/express): Fast, unopinionated, minimalist web framework
- [mongoose](https://ghub.io/mongoose): Mongoose MongoDB ODM
- [qs](https://ghub.io/qs): A querystring parser that supports nesting and arrays, with a depth limit
## Dev Dependencies
- [bunyan](https://ghub.io/bunyan): a JSON logging library for node.js services
- [danger](https://ghub.io/danger): Unit tests for Team Culture
- [eslint](https://ghub.io/eslint): An AST-based pattern checker for JavaScript.
- [eslint-config-sexy](https://ghub.io/eslint-config-sexy): Mostly sexy config
- [generate-changelog](https://ghub.io/generate-changelog): Generate a changelog from git commits.
- [mocha](https://ghub.io/mocha): simple, flexible, fun test framework
- [should](https://ghub.io/should): test framework agnostic BDD-style assertions
- [supertest](https://ghub.io/supertest): SuperAgent driven library for testing HTTP servers
## Contribute
See [the contribute file](CONTRIBUTING.md)!
## License
MIT © [Oleg Koval](https://github.com/oleg-koval) 2018