python3 -m venv env
source env/bin/activate
Use the package manager pip to install requirements. pip install -r requirements.txt
DATABASES = { 'default': { 'PORT': 3306, 'ENGINE': 'django.db.backends.mysql', 'OPTIONS': { 'sql_mode': 'traditional', }, 'NAME': os.environ.get('DB_NAME', 'db_schema_name'), 'USER': os.environ.get('DB_USER', 'root'), 'PASSWORD': os.environ.get('DB_PASSWORD', ''), 'HOST': os.environ.get('DB_HOST', 'localhost'), } }
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
To get all user {{url}}/api/v1/users/?page={page}&page_size={page_size}
To get user by id {{url}}/api/v1/users/{id}
npm install
npm run serve
npm run build