Personal Blogging web-application to Post, Delete, Update Blogs in Admin Dashboard and public can see blogs.
you should have a fully functioning site that is at least capable of doing the following, if not more, using a Pymongo database:
- Admin login.
- Contact to admin.
- Insert new blog.
- Update blog.
- delete blog.
Our tech stack will include:
- SQLAlchemy ORM to be our ORM library of choice
- Pymongo as our database of choice
- Python3 and Flask as our server language and server framework
- Flask for web-app development
- HTML, CSS, and Javascript with Bootstrap 3 for our website's frontend
├── README.md
├── app.py *** the main driver of the app.
"python app.py" to run after installing dependences
├── requirements.txt *** The dependencies we need to install with "pip3 install -r requirements.txt"
├── static
│ ├── css
│ ├── img
│ ├── vendor *** js files
|
└── templates *** html files
|
└── config.json *** include information of admin login and database connection
|
└── Procfile *** use in deploy application at heroku
- Install the dependencies:
$ pip install -r requirements.txt
- setup your database:
"pri_uri": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
change in config.json file. use
- Run the development server:
$ python app.py
- Happy to share in public to use as a starter project and improve this project. Thanks!!!