This is a simple blogging web application built with Express.js, Sequelize, and EJS.
- Create new blog posts
- Edit existing blog posts
- View all blog posts
- Simple todo app
-
Clone the repository:
git clone https://github.com/your-username/blogging-app.git
-
Install dependencies:
cd blogging-app npm install
-
Set up the database configuration in
config/database.js
. -
Run the application:
npm start
The application will be running at
http://localhost:3000
.
- Express.js: for building the web server
- Sequelize: for handling database operations
- EJS: for rendering HTML templates
- Tailwind CSS: for styling the frontend
- Navigate to
http://localhost:3000
in your web browser. - Click on "Create Blog" to create a new blog post.
- Fill out the form and submit.
- View all blog posts on the homepage.
- Click on "Edit" to edit an existing blog post.
There is also a simple todo app available in the /todo
route. You can access it by navigating to http://localhost:3000/todo
in your web browser.