gary60405 / DAMP-Stack-Starter-Project

This is a stack of DAMP(Django + Angular + MySQL + Python).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DAMP Stack Starter Project

List of integrated packages

As the below list, It had integrated packages for deploying and building restful API.

  • psycopg2-binary
  • django-heroku
  • gunicorn
  • django
  • djangorestframework

Prerequisites

  • Yarn 1.22.4
  • Angular CLI 10.0.0
  • Node 12.18.1
  • MySQL 5.7
  • Python 3.8.3
    • pipenv 2020.6.2

Usage

Step.1

Clone the project.

$ git clone https://github.com/gary60405/DAMP-Stack-Starter-Project.git

Step.2

Launch the cmd.exe and type the text below for installing all the node_modules.

$ cd frontend
$ yarn install

Step.3

Launch the cmd.exe and type the text below for installing all the packages.

$ cd backend
$ pipenv install

Step.4

Open backend/backend/setting.py

# Generating SECRET_KEY here: https://djskgen.herokuapp.com/
SECRET_KEY = ''

# Filling in the empty fields
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': '', # schema_name
        'USER': '', # user_name
        'PASSWORD': '', # login_password
        'HOST': 'localhost', # localhost or 127.0.0.1
        'PORT': '3306',
    }
}

License

MIT license

About

This is a stack of DAMP(Django + Angular + MySQL + Python).

License:MIT License


Languages

Language:HTML 63.7%Language:TypeScript 18.0%Language:Python 13.6%Language:JavaScript 4.5%Language:CSS 0.2%