This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import './App.css'; | |
import { | |
Container, | |
Button, | |
ButtonToolbar, | |
Row, | |
Col, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express'); | |
const app = express(); | |
// HTTP Methods CRUD => Create,Read, Update and Delete | |
app.get('/', (req, res) => { | |
res.send('Hi, There Manot Luijiu'); | |
}); // Read | |
// app.post(params); // Create | |
// app.put(params); // Update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 18, | |
"terminal.integrated.fontSize": 18, | |
"editor.wordWrap": "on", | |
"editor.tabSize": 2, | |
"workbench.iconTheme": "vscode-icons", | |
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.formatOnSave": true | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MIDDLEWARE = [ | |
'django.middleware.security.SecurityMiddleware', | |
'whitenoise.middleware.WhiteNoiseMiddleware', | |
'django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Django settings for djcrm project. | |
Generated by 'django-admin startproject' using Django 3.1.4. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/3.1/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/3.1/ref/settings/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.staticfiles.storage import staticfiles_storage | |
from django.views.generic.base import RedirectView | |
from django.contrib import admin | |
from django.urls import path, include | |
from leads.views import landing_page | |
def trigger_error(request): | |
division_by_zero = 1 / 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
βββ djcrm | |
β βββ __pycache__ | |
β β βββ __init__.cpython-39.pyc | |
β β βββ settings.cpython-39.pyc | |
β β βββ urls.cpython-39.pyc | |
β β βββ wsgi.cpython-39.pyc | |
β βββ __init__.py | |
β βββ asgi.py | |
β βββ settings.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSTALLED_APPS = [ | |
'whitenoise.runserver_nostatic', | |
'django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'leads' | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Means-CRM</title> | |
{% load static %} | |
<link rel="icon"href="{% static 'favicon.ico' %}"> | |
<link | |
href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" |