Welcome to Rob's Codex: A personal blog where I share my journey in technology. This repository contains the code that runs my blog, built with modern web technologies.
Rob's Codex is a simple yet powerful platform for sharing advice, tutorials, and reflections on technology. It combines a clean design with practical features to deliver a smooth reading experience.
- Express.js - Handles routing and server logic.
- EJS (Embedded JavaScript) - Renders dynamic HTML templates.
- MongoDB - Manages and stores all blog data.
Here’s how you can set up Rob's Codex on your local machine:
Make sure you have the following installed:
- Node.js & npm
- MongoDB
-
Clone the Repository:
git clone https://github.com/your-username/robscodex.git cd robscodex -
Install Dependencies:
npm install
-
Set Up MongoDB:
-
Ensure MongoDB is running locally.
-
Create a
.envfile in the root directory and add your MongoDB URI:MONGODB_URI=mongodb://localhost:27017/robscodex
-
-
Start the Application:
npm start
Visit
http://localhost:3000to view the blog.
- Dynamic Templating: EJS for dynamic and reusable HTML templates.
- RESTful Routing: Express.js for clean and organized routing.
- Data Management: MongoDB for efficient data storage and retrieval.
Suggestions and contributions are welcome! Feel free to fork the repo and submit a pull request.
This project is open-source and licensed under the MIT License.