sawankshrma/wiki

project 1: Wikipedia

โ˜… 0Forks 0PythonGitHub โ†—Compare

README

๐ŸŒ Encyclopedia

A simple Markdown-powered encyclopedia web application built with DJANGO. Users can view, create, edit, and search entries just like a wiki.

๐Ÿš€ Deployed -> [HERE]๐ŸŒ

This project is Project 1 from the CS50 Web Programming course.

โœจ Features

  • ๐Ÿ” Search encyclopedia entries (partial matches allowed)
  • ๐Ÿ“„ View Markdown-formatted pages
  • โž• Add new entries
  • โœ๏ธ Edit existing entries
  • ๐ŸŽฒ Random entry feature

๐Ÿš€ Getting Started

Prerequisites

  • Python 3.x
  • Django

Installation

git clone https://github.com/sawankshrma/wiki.git
cd wiki
pip install -r requirements.txt  
python manage.py runserver

Visit http://127.0.0.1:8000 in your browser.

๐Ÿ“ File Structure

wiki/
โ”œโ”€โ”€ encyclopedia/       # App directory
โ”‚   โ”œโ”€โ”€ templates/
โ”‚   โ”œโ”€โ”€ static/
โ”‚   โ”œโ”€โ”€ urls.py
โ”‚   โ”œโ”€โ”€ views.py
โ”‚   โ””โ”€โ”€ util.py
โ”œโ”€โ”€ entries/            # Markdown files stored here
โ”œโ”€โ”€ wiki/               # Main project folder
โ”œโ”€โ”€ manage.py
โ””โ”€โ”€ README.md

๐Ÿงช Example Entry

Create a Markdown file like entries/Python.md:

# Python

Python is a high-level programming language that supports multiple programming paradigms.

Contributors

sawankshrma

Issues