Giter Site home page Giter Site logo

ju-c / docker-django-drf-vue-nginx Goto Github PK

View Code? Open in Web Editor NEW
22.0 1.0 10.0 2.75 MB

A basic example of a dockerized Django e-commerce app using Django Rest Framework, nginx, Stripe and VueJS.

Dockerfile 1.58% Shell 0.72% Python 32.95% JavaScript 6.29% HTML 1.29% Vue 57.17%

docker-django-drf-vue-nginx's Introduction

Docker, nginx, Django, DRF, Vue E-Commerce Project

Docker, nginx, Django, DRF, Vue E-Commerce Project A basic example of a dockerized Django e-commerce app using Django Rest Framework, nginx, Stripe and VueJS.

Installation

To handle the payments, we implement Stripe. More infos here https://stripe.com/docs/testing Add your Stripe secret key into the "setting.py" file and your stripe public key into the "Checkout.vue" file.

For local development, run the following command:

docker-compose -f docker-compose.dev.yml up --build

Create a superuser:

docker ps # Get container ID
docker exec -it <container ID> /bin/bash
./backend/manage.py createsuperuser

For production, rename "docker-compose.yml.example" to "docker-compose.yml", generate a secret key:

python -c 'import secrets; print(secrets.token_urlsafe(38))'

add it to "docker-compose.yml" and run the following command:

docker-compose -f docker-compose.yml up --build

docker-django-drf-vue-nginx's People

Contributors

dependabot[bot] avatar ju-c avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

docker-django-drf-vue-nginx's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

docker-compose
docker-compose.dev.yml
dockerfile
Dockerfile
  • node 16.13-alpine3.11
backend/Dockerfile
  • python 3.10
frontend/Dockerfile
  • node 16.13.0-alpine3.11
nginx/Dockerfile
  • node 16.13.0-alpine3.11
  • nginx 1.23.1-alpine
html
frontend/public/index.html
  • font-awesome 5.15.2
npm
frontend/package.json
  • axios 0.27.2
  • bulma ^0.9.2
  • bulma-toast 2.4.1
  • core-js 3.25.3
  • vue 3.1.1
  • vue-router 4.0.8
  • vuex 4.0.1
  • @vue/cli-plugin-babel 4.5.13
  • @vue/cli-plugin-router 4.5.13
  • @vue/cli-plugin-vuex 4.5.13
  • @vue/cli-service 5.0.1
  • @vue/compiler-sfc 3.1.1
  • sass 1.34.1
  • sass-loader 8.0.2
pip_requirements
backend/requirements.txt

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.