d1eccfd0b74479ed9ae6425cb8d3feb1fb23ed51
Kleinpanic website
Kleinpanic is my personal website and blog where I share tech-related insights, projects, and music. This repository contains the open-sourced portion of the website, excluding sensitive files like .env.
Features
- Blogging platform: Built with Node.js and Express.
- Project sharing: Utilizes GitHub for audio file storage.
- Custom routes: Automatically serve different pages for requests from curl or a browser.
- Responsive Design: Optimized for both desktop and mobile users.
- Email Sign-In: Secure email-based login system.
Getting Started
Prerequisites
To run this project locally, you'll need:
- Node.js (v14 or later)
- npm (comes with Node.js)
- MongoDB (optional: if you plan to use a database)
- A valid email address for the sign-in feature.
Installation
- Clone the repository:
git clone https://github.com/kleinpanic/kleinpanicWeb.git - Navigate to the project dir
cd kleinpanicWeb - Install Dependencies
npm install - create an .env file
EMAIL_ADDDRESS= EMAIL_PASSWORD= - Run the development server
npm run start - Acces the Website
http://localhost:port
Folder Structure
kleinpanic-website/
│
├── public/ # Static files (CSS, images, etc.)
├── views/ # Frontend templates (ejs)
├── routes/ # API and web routes
├── models/ # Mongoose models
├── controllers/ # Controllers for routes
├── config/ # Configuration files (environment, database)
├── server.js # Entry point for the server
└── README.md # Project documentation
Contribution
This is my personal website, but if you want to view it, make your own with a similar view and functionality: 1. clone this repository 2. View code 3. Do whatever
or If you'd like to contribute:
1. Fork this repository.
2. Create a new branch (git checkout -b feature/feature-name).
3. Commit your changes (git commit -m 'Add some feature').
4. Push to the branch (git push origin feature/feature-name).
5. Open a Pull Request.
License
Read the LICENSE file.
Languages
HTML
91.3%
JavaScript
4.5%
EJS
2.9%
CSS
1%
Shell
0.3%