The travel-tales-exchange blog is a dynamic web application allowing users to share and comment on blog posts. It provides a platform for users to express their thoughts, opinions, and share information in a blog format. Built with a focus on user interaction and ease of use, the blog offers a clean and responsive interface for a seamless travel blogging experience.
Check out the live demo of the application here: Travel Blog Live
- User Authentication: Users can sign up for an account and log in to access personalized features.
- Blog Posting: Logged-in users can create, edit, and delete their own blog posts.
- Comments: Users can add comments to blog posts, fostering community interaction.
- Responsive Design: A clean and responsive user interface, adapting to various screen sizes and devices.
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Express.js: A web application framework for Node.js.
- Sequelize: A promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server.
- Handlebars.js: A minimal templating engine.
- MySQL: Popular database.
- dotenv: Package to manage environment variables.
- connect-session-sequelize: Package that allows a session to persist using cookies.
To run this application locally, you'll need Node.js and a MySQL database set up on your machine.
-
Clone the repository:
git clone
-
Install the dependencies:
npm i
-
Create a
.env
file in the root directory with the following contents:
DB_NAME='your_database_name'
DB_USER='your_username'
DB_PASSWORD='your_password'
-
Run the
schema.sql
in your MySQL database to create the necessary database. -
Start the server:
node server.js
-
Visit
http://localhost:3000
in your browser.
Contributions to the Travel Tales Exchange Blog project are welcome!
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
This project is open source and available under the MIT License.
© 2024 Travel Blog by Fred Motta Credits: Code originally developed by Irene Panis' Ensemble Blog and adapted to this project by Fred.