Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hdk101/express-blog
A simple blog made with ExpressJS
https://github.com/hdk101/express-blog
expressjs mocha nodemon pm2
Last synced: about 5 hours ago
JSON representation
A simple blog made with ExpressJS
- Host: GitHub
- URL: https://github.com/hdk101/express-blog
- Owner: HDK101
- License: mit
- Created: 2020-01-26T23:26:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:34:57.000Z (about 2 years ago)
- Last Synced: 2024-04-16T14:10:49.473Z (9 months ago)
- Topics: expressjs, mocha, nodemon, pm2
- Language: JavaScript
- Homepage:
- Size: 483 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# A blog system made in ExpressJS
[![Build Status](https://travis-ci.com/HDK101/express-blog.svg?branch=master)](https://travis-ci.com/HDK101/express-blog)## About
A simple blog system that i made to test my skills.## Pre-requisites
- MongoDB(4.2.5)
https://www.mongodb.com/download-center/community## Technologies
- EJS(3.0.1)
- Express(4.17.1)
- Mongoose(5.8.9)
- Pm2(4.2.3)(Production)
- Nodemon(2.0.2)(Dev)
- Mocha(7.0.1)(Test)## Installation
1. Clone repository
2. Run **npm install**
3. Run **npm run createBlog** and configure your blog
4. Install Pm2 globally, **npm install -g pm2**## Running
- **npm run dev** starts development build(nodemon)
- **npm run production** starts production build(pm2)## Misc
### Scripts
- **npm run resetBlog** clears DBs and configuration file
- **npm run restart** restarts the process in pm2.
- **npm run stop** stop blog process in pm2.
- **npm run logs** show logs on all process in pm2
- **npm run test** executes Mocha to test.