blogpost-express-js
所属分类:Node.js
开发工具:SCSS
文件大小:0KB
下载次数:0
上传日期:2023-08-20 18:47:17
上 传 者:
sh-1993
说明: 一个简单的网站,能够创建自己的新闻和博客。使用NodeJS、Mongodb和PugJS创建,
(A simple web-site with the ability to create your own news and blog. Created using NodeJS, Mongodb and PugJS,)
文件列表:
.vscode/ (0, 2021-06-29)
.vscode/launch.json (0, 2021-06-29)
app.js (4272, 2021-06-29)
assets/ (0, 2021-06-29)
assets/img/ (0, 2021-06-29)
assets/img/favicons/ (0, 2021-06-29)
assets/img/favicons/android-chrome-192x192.png (1935, 2021-06-29)
assets/img/favicons/apple-touch-icon.png (1738, 2021-06-29)
assets/img/favicons/browserconfig.xml (221, 2021-06-29)
assets/img/favicons/favicon-16x16.png (310, 2021-06-29)
assets/img/favicons/favicon-32x32.png (491, 2021-06-29)
assets/img/favicons/favicon.ico (5430, 2021-06-29)
assets/img/favicons/manifest.json (412, 2021-06-29)
assets/img/favicons/safari-pinned-tab.svg (1333, 2021-06-29)
assets/styles/ (0, 2021-06-29)
assets/styles/blog.css (1676, 2021-06-29)
assets/styles/login.css (2662, 2021-06-29)
assets/styles/register.css (2119, 2021-06-29)
middleware/ (0, 2021-06-29)
middleware/passport-config.js (2010, 2021-06-29)
models/ (0, 2021-06-29)
models/article.js (531, 2021-06-29)
models/user.js (626, 2021-06-29)
package.json (846, 2021-06-29)
request.rest (0, 2021-06-29)
routes/ (0, 2021-06-29)
routes/article.js (160, 2021-06-29)
routes/users.js (1254, 2021-06-29)
views/ (0, 2021-06-29)
views/add_article.pug (442, 2021-06-29)
views/alert.pug (151, 2021-06-29)
views/article.pug (1387, 2021-06-29)
views/backup.pug (12578, 2021-06-29)
views/edit_article.pug (514, 2021-06-29)
views/footer.pug (225, 2021-06-29)
views/index.pug (431, 2021-06-29)
views/jumbotron.pug (2317, 2021-06-29)
views/layout.pug (4013, 2021-06-29)
views/login.pug (1744, 2021-06-29)
... ...
# Blog about nothing and everything
- Backend: Node.js, Express.js, Mongodb (Mongoose)
- Frontend: PugJS (ex Jade)
# Features
- A full-featured newswire with the ability to create news categories and comment on them
- A complete opportunity to maintain a personal blog
- News search
- User registration and email address confirmation
- User profiles with the ability to upload and crop avatars
- Admin panel for easy content management
# Used materials
- [Vali admin panel](https://pratikborsadiya.in/vali-admin/)
- [Bootstrap blog template](https://getbootstrap.com/docs/4.6/examples/blog/)
# Setup
```bash
# Clone the repository
git clone https://github.com/djavuch/blogpost-express-js.git
# Go inside the directory
cd blogpost-express-js
# Install dependencies
npm install
# Create .env file in both backend and frontend directories
# and add your environment variables
SESSION_SECRET= session secret key
MONGO_URI= mongodb pass
ADMIN_EMAIL= your admin email
## I apologize for the inconvenience, but there were no other ways to test
GMAIL_EMAIL= google mail
GMAIL_PASS= app password from your google account
# Run the app
nodemon
```
![Снимок веб-страницы_9-8-2023_2188_localhost](https://github.com/djavuch/blogpost-express-js/assets/32241096/dc2f3a31-f078-4c16-948e-2c7ca34d72c9)
![Снимок веб-страницы_9-8-2023_21912_localhost](https://github.com/djavuch/blogpost-express-js/assets/32241096/1cb78464-7201-4fb7-937a-f95db76f2334)
![Снимок веб-страницы_9-8-2023_21112_localhost](https://github.com/djavuch/blogpost-express-js/assets/32241096/2219b80e-d49b-4c98-bae3-0dafd1da11eb)
![Снимок веб-страницы_10-8-2023_0335_localhost](https://github.com/djavuch/blogpost-express-js/assets/32241096/cf1a4662-1a8b-4e00-8000-b97f2a247ec1)
![Снимок веб-страницы_10-8-2023_04510_localhost](https://github.com/djavuch/blogpost-express-js/assets/32241096/29c2f13f-1329-4c69-b214-c09ee683aae5)
近期下载者:
相关文件:
收藏者: