TicketEase is a ticketing management system, that I built for the Alx Webstack Portfolio Project. This project marks the end of my backend specialization, in the 12-month Software Engineering Programn.
It provides a seamless and efficient way to manage tickets, allowing users to create, update, and track tickets for various projects.
With TicketEase, you can easily stay organized and ensure smooth ticketing operations.
TicketEase is built using Python
with Django
framework for the backend and HTML
and CSS
for the frontend.
Django-allauth
- for the authentication systempython-dotenv
- to secure my environmental variables within the.env
filePillow
- to handle images during production
To test TicketEase locally, you will need to have Python
installed on your machine. You can download it here.
- Clone the repo:
git clone https://github.com/TKaburu/TicketEase.git
- Navigate to the project directory:
cd TicketEase
- Create a virtual environment
python -m venv <environment_name>
. Replace<environment_name>
with the actual name of your environment. - Activate your virtual environment:
.<environment_name\Scripts\activate
for windows andsource <environment_name>/bin/activate
for macOs/linux - Install dependencies:
pip install -r requirements.txt
You will need to do a couple of things before spinning up the server:
-
create a
.env
file which will be used to host theSECRETE KEY
-
Generate a
SECRETE KEY
using python shell. You can usesecrets
for this.- Using Python shell import secrets then
print(secrets.token_hex(24))
- Copy the key and place it in the
.env
file like thisSECRET_KEY=copied_key
. Replacecopied_key
with the actual key
- Using Python shell import secrets then
-
Run migrations using
python manage.py migrate
-
Run the inbuilt django server using
python manage.py runserver
-
You can now access the application on
http://127.0.0.1:8000/
Django comes with an inbuilt admin panel that can be accessed on http://127.0.0.1:8000/admin
, but first you will need a superuser.
To create a superuser, on your terminal, run python manage.py createsuperuser
and follow the prompts given.
Note : The password fields will appear blank as you are typing them in. Don't panic, it's to protect your password from prying eyes 👀
Want to help me make TicketEase better?
- Fork the Project
- Create a new Branch to work on
git checkout -b <branch_name>
- Create some magic, using code ofcourse 🪄🪄
- Commit your changes
- Push to the Branch:
git push origin <branch_name>
- Open a pull request
Have a question or you want to talk code, get in touch! 🫱🏾🫲🏻
Project Link: TicketEase
Twitter - @kaburu_tracey
Email - [email protected]