You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple blog website built with Flask web framework. It uses Flask's built-in support for Jinja2 templating engine and SQLAlchemy for database management.
3
+
4
+
5
+
## Usage
6
+
After installing all the required dependencies by running "pip install -r requirements.txt."
7
+
8
+
You can access the blog website by visiting http://localhost:5000. use [email protected]:123456 to login as admin if you want to test the blog with this uploaded db.
9
+
10
+
The blog has the following features:
11
+
12
+
- User registration and login
13
+
- Create, edit and delete blog posts (for admin only)
14
+
- Create comments (Only for registred Users)
15
+
- Contact page with contact form
16
+
17
+
18
+
## Deployed Version
19
+
Check out the deployed version of this blog [here](https://blog-site-5ojf.onrender.com/)!
20
+
21
+
22
+
## Credits
23
+
This blog is created by [Salmane A.]("https://github.com/saa1man"). Feel free to use it as a starting point for your own project.
<spanclass="subheading">Have questions? I have answers.</span>
12
15
</div>
13
16
</div>
@@ -20,40 +23,38 @@ <h1>Contact Me</h1>
20
23
<divclass="row">
21
24
<divclass="col-lg-8 col-md-10 mx-auto">
22
25
<p>Want to get in touch? Fill out the form below to send me a message and I will get back to you as soon as possible!</p>
23
-
<!-- Contact Form - Enter your email address on line 19 of the mail/contact_me.php file to make this form work. -->
24
-
<!-- WARNING: Some web hosts do not allow emails to be sent through forms to common mail hosts like Gmail or Yahoo. It's recommended that you use a private domain email address! -->
25
-
<!-- To use the contact form, your site must be on a live web host with PHP! The form will not work locally! -->
<inputtype="email" class="form-control" placeholder="Email Address" id="email" requireddata-validation-required-message="Please enter your email address.">
38
+
<inputtype="email" class="form-control" placeholder="Email Address" id="email" name="email" requireddata-validation-required-message="Please enter your email address.">
<inputtype="tel" class="form-control" placeholder="Phone Number" id="phone" requireddata-validation-required-message="Please enter your phone number.">
45
+
<inputtype="tel" class="form-control" placeholder="Phone Number" id="phone" name="phone" requireddata-validation-required-message="Please enter your phone number.">
<textarearows="5" class="form-control" placeholder="Message" id="message" requireddata-validation-required-message="Please enter a message."></textarea>
52
+
<textarearows="5" class="form-control" placeholder="Message" id="message" name="message" requireddata-validation-required-message="Please enter a message."></textarea>
0 commit comments