Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itz-amethyst/appointment_booking
🐍 Appointment Booking written in django-rest-framework 🗓️
https://github.com/itz-amethyst/appointment_booking
api appointment-booking django django-rest-framework postgresql restful-api
Last synced: 22 days ago
JSON representation
🐍 Appointment Booking written in django-rest-framework 🗓️
- Host: GitHub
- URL: https://github.com/itz-amethyst/appointment_booking
- Owner: itz-Amethyst
- Created: 2024-05-05T18:00:28.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-15T18:09:25.000Z (8 months ago)
- Last Synced: 2024-05-29T01:16:31.028Z (8 months ago)
- Topics: api, appointment-booking, django, django-rest-framework, postgresql, restful-api
- Language: Python
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🐍 Django Appointment Booking 🗓️
## Overview
This project built upon Django with Docker for local development. Follow this instructions for setting up the project, building Docker images, running Django.## Django Models Diagram
Models diagram generated by pydot , graphviz:
![Diagram of Django Models](assets/my_models.png)
[//]: # (### 1. Install Dependencies)
[//]: # (Ensure all required Python packages are installed.)
[//]: # ()
[//]: # (```bash)[//]: # (pip install -r requirements.txt)
[//]: # (```)
[//]: # (### 2. Docker Setup)
[//]: # (To build the Docker image:)
[//]: # ()
[//]: # (```bash)[//]: # (docker build appointment-booking .)
[//]: # (```)
[//]: # (To run the Docker container:)
[//]: # ()
[//]: # (```bash)[//]: # (docker run -p 8000:8000 appointment-booking)
[//]: # (```)
[//]: # (OR)
[//]: # ()
[//]: # (```bash)[//]: # (docker-compose up -d)
[//]: # (```)
[//]: # ()
[//]: # (Access the project through this url:)[//]: # ()
[//]: # (`http://localhost:8000/`)[//]: # ()
[//]: # (### 3. Running the Django Project)[//]: # (After running the Docker container, you can open the Django project at:)
[//]: # (```)
[//]: # (http://localhost:8000)
[//]: # (```)
## Running locally
### 1. Install Dependencies
Ensure all required Python packages are installed. Run the following command in your terminal:
```bash
pip install -r requirements.txt
```### 2. Apply migrations
```bash
python manage.py makemigrations
```and then
```bash
python manage.py migrate
```### 3. Final step
Now with having these steps done you can easily access the project on your local```bash
python manage.py runserver
```