Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiyee/whamon
A blog system wrote by ES6 and powered by original Node.js without any framework.
https://github.com/tiyee/whamon
blog es6-javascript nodejs-server typescript
Last synced: 8 days ago
JSON representation
A blog system wrote by ES6 and powered by original Node.js without any framework.
- Host: GitHub
- URL: https://github.com/tiyee/whamon
- Owner: tiyee
- License: mit
- Created: 2022-02-24T14:56:25.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T15:25:30.000Z (over 2 years ago)
- Last Synced: 2024-03-15T06:48:27.410Z (8 months ago)
- Topics: blog, es6-javascript, nodejs-server, typescript
- Language: HTML
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# whamon
A blog system wrote by ES6 and powered by original Node.js without any framework.
## Install
1. `yarn install`
2. `yarn pro ` or `yarn dev`
## Import mysql
Database must be configured before starting this application.
1. Exec sqlscript in ./angemon.sql
2. Configure config file in ./config dir
## Nginx location
```
location = / {
proxy_pass http://127.0.0.1:3000/;}
location ~* ^/post/([0-9a-z]+)\.html$ {
proxy_pass http://127.0.0.1:3000/post?id=$1;}
location ~ ^/tag {
if ($request_uri ~* ^/tag/(.*)\.html$) {
proxy_pass http://127.0.0.1:3000/tag?id=$1;
}
}
location ~* ^/(about|opensource|sitemap)\.(html|xml)$ {
proxy_pass http://127.0.0.1:3000/$1;}
```## Run
`node ./srcipts/index.js` or `yarn start`
# Example
I just want to create it to rebuild my blog by node.js , you can visit [www.tiyee.net](https://www.tiyee.net/?fr=wha).
I have started a server in [whamon.tiyee.cn](https://whamon.tiyee.cn/?fr=wha).