https://github.com/mahmoudgalalz/blogging
Full Stack Project using Expressjs, nodejs, bootstrap
https://github.com/mahmoudgalalz/blogging
Last synced: 3 months ago
JSON representation
Full Stack Project using Expressjs, nodejs, bootstrap
- Host: GitHub
- URL: https://github.com/mahmoudgalalz/blogging
- Owner: Mahmoudgalalz
- License: mit
- Created: 2022-05-25T20:41:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-25T20:45:40.000Z (over 2 years ago)
- Last Synced: 2025-01-05T16:30:56.094Z (5 months ago)
- Language: CSS
- Homepage:
- Size: 14.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blogging
- Web app to post Blogs using nodejs, MongoDB
- supports user Login/sginUp + auth
- You should be a user to post a blog# Building & Deployment
- require Nodejs
- require MongoDB either in your local or using Atlas## linux Users Deployment
- nodejs1. use `sudo apt install npm` or you can use the Snap Store and search for node
version that I used without any issues 17.8.0v
2. check your version `node -v && npm -v`- MongoDB
1. use `wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -` you should get OK
if you faced an issue use `sudo apt-get install gnupg` then repate from 1 again
2. use `echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list`
3. use `sudo apt-get update` to reload a local package database
4. use `sudo apt-get install -y mongodb-org`Run MongoDB
1. use `sudo systemctl start mongod`
2. use `sudo systemctl status mongod`if you faced an issue use `sudo systemctl daemon-reload` to restart mongo
## deploy the project
- cd ~/Blogging
- use `node .`
- go to `localhost:4001`