Skip to content

A bash script to generate a basic Django Rest Framework (DRF) and React project with other additional packages.

Notifications You must be signed in to change notification settings

SevagSA/DRF-React-Bash-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

A bash script to generate a DRF/React project.

Currently (V1.4):

  • .gitignore for .DS_Store in root folder

  • Creates two folders (backend and frontend)

    • In backend (Django/DRF):

      • Creates venv
      • Installs user specified version of Django w/user-specified project name and latest version of DRF
      • Creates .env, .env.template, .gitignore, requirements.txt files
    • In frontend (React):

      • Creates React app in current folder (.)
      • Removes unwanted files

Next step(s):

  • Generate a sk in .env
  • Ask user if they want to use a custom DB (will be PostgreSQL)
  • Try to replace the values in settings.py by env('NAME_OF_VALUE') for the variables that will be set as env variables (sk, debug, etc.)
  • Push to git (only if able to do the step above to preserve security/privacy)
  • Add CSS module for React
  • and more...

About

A bash script to generate a basic Django Rest Framework (DRF) and React project with other additional packages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages