https://github.com/dunghenry/django_mongodb_docker
django + mongodb + docker
https://github.com/dunghenry/django_mongodb_docker
django django-rest-framework docker docker-compose mongodb-atlas
Last synced: 3 months ago
JSON representation
django + mongodb + docker
- Host: GitHub
- URL: https://github.com/dunghenry/django_mongodb_docker
- Owner: dunghenry
- Created: 2022-10-19T02:52:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T03:28:23.000Z (over 3 years ago)
- Last Synced: 2025-05-30T22:28:22.338Z (about 1 year ago)
- Topics: django, django-rest-framework, docker, docker-compose, mongodb-atlas
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Django + MongoDB
#### Create project
```js
django-admin startproject django_mongodb
```
#### Start
```js
py manage.py runserver
```
```js
py manage.py runserver 8080
```
### Create new app
```js
python manage.py startapp users
```
### Install djangorestframework
```js
pip install djangorestframework
```
### Install corsheaders
```js
pip install django-cors-headers
```
### Makemigrations
```js
python manage.py makemigrations
```