An open API service indexing awesome lists of open source software.

https://github.com/miladsade96/crispy_notes

Crispy Notes Blog Website
https://github.com/miladsade96/crispy_notes

blog blogging-platform django django-rest-framework hacktoberfest-accepted hacktoberfest2022 python python3

Last synced: 8 months ago
JSON representation

Crispy Notes Blog Website

Awesome Lists containing this project

README

          

# Crispy Notes
## Blogging platform powered by django

---

### Project dependencies:
* Django >3.2, <3.3
* Django Rest Framework == 3.14.0
Check out [requirements.txt](requirements.txt) to see full list of dependencies.

---

### Local run:
* Running docker compose and building the image:
```shell
docker-compose -f up --build
```
* Preparing demo version data:
```shell
docker container exec -it /bin/bash
```
```shell
python manage.py makemigrations && python manage.py migrate
```
```shell
python manage.py createsuperuser
```
```shell
python manage.py add_fake_posts
```
* Opening demo version:
* http://127.0.0.1:8000 --> Web app
* http://127.0.0.1:8000/sitemap.xml --> Sitemap
* http://127.0.0.1:5000 --> Smtp4dev
* http://127.0.0.1:8089 --> Api load test(locust)

---

### Apps:
List of apps: core, home, accounts, blog, comment
Open [swagger url](http://127.0.0.1:8000/swagger/) to see full list of api endpoints.