This website was designed for a school project with specific requirements and fixed constraints. It was developed in a limited period of time and in this context this project is not intended to evolve that much once finished. This project is not open to contribution. The following need is fictive.
I recently joined a young start-up named LITRevu (referring to literature reviews) as Python Lead Developer. The start-up goal is to develop (and commercialize) a web based product allowing a community of readers and writers to publish and request reviews of books (or articles).
The web application allows to:
- consult reviews and tickets (request for reviews),
- post tickets (+ edit and delete),
- post reviews (+ edit and delete),
- follow authors/reviewers (+ unfollow),
- signup (+ login and logout).
The application:
- is using Django (open-source python-based web framework that follows the Model–Template–Views architecture)
- is not using Javascript,
- is not using CSS framework,
- is valid W3C HTML and W3C CSS,
- is compatible with small screens,
- is following WCAG (Web Content Accessibility Guidelines)
The python code:
This application was tested with python 3.11
version, with pip 23.2
, and django 4.2
.
The development environment was macOS 13.4
and firefox 115
.
- Clone this repository:
git clone https://github.com/nanakin/OC-P9-Django.git django-project
- Move to the project directory:
cd django-project
- Create a virtual environment (optional):
and activate it:
python3 -m venv venv
.\venv\Scripts\activate # windows source venv/bin/activate # unix and macOS
- Install project dependencies:
pip install -r requirements.txt
- Move inside the django project:
cd lit_review
- Create migration files (corresponding to database structure):
python3 manage.py makemigrations
- Launch the server:
python3 manage.py runserver
- Open http://127.0.0.1:8000/ on your web browser.
You can login with a pre-existing superuser Jangolito
with password Djan-g0!
.