This is a practice Django project using PostgreSQL and pgAdmin.
- Django REST framework
- PostgreSQL
- pgAdmin
- Docker
git clone https://github.com/markclarde/simple-clinic-app-backend.git
cd simple-clinic-app-backend
- Create a
.envfile based on the example:
cp .env.example .env
docker compose up --build
python -m venv venv
venv\Scripts\activate
pip install --upgrade pip
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
- This will create all tables in your Postgres database.
- You can verify in pgAdmin at
http://localhost:5050/.
python manage.py createsuperuser
- You can refer to the credentials in your
.envfile if you want to use predefined values.
python manage.py runserver
- Accessible at
http://127.0.0.1:8000/.