Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayeujjawalsingh/laundry-management-system
The laundry-management-System website was built in Django (a Python framework) as a backend language, HTML, CSS, and JavaScript for the frontend, and MySQL for the database operations.
https://github.com/ayeujjawalsingh/laundry-management-system
ayeujjawal ayeujjawalsingh css django html5 javascript laundry-management-system mysql python
Last synced: 4 days ago
JSON representation
The laundry-management-System website was built in Django (a Python framework) as a backend language, HTML, CSS, and JavaScript for the frontend, and MySQL for the database operations.
- Host: GitHub
- URL: https://github.com/ayeujjawalsingh/laundry-management-system
- Owner: ayeujjawalsingh
- Created: 2023-01-14T07:17:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T17:20:43.000Z (12 months ago)
- Last Synced: 2023-11-29T17:54:14.235Z (12 months ago)
- Topics: ayeujjawal, ayeujjawalsingh, css, django, html5, javascript, laundry-management-system, mysql, python
- Language: HTML
- Homepage: https://www.linkedin.com/in/ayeujjawalsingh/
- Size: 44.2 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Hi 👋🏻, I'm Ujjawal Singh
#
`Project Installations in Local System`
## `Tools & Technology Required`- Python
- Django
- HTML
- CSS
- Javascript## `Run Locally`
- Download the Project and Unzip it
- Open Commant Prompt
> You must have Python3 installed in your systemGo to the project directory
```bash
cd Laundry-Management-System
```Create Virtual Envoirnment of Python
```bash
pip install virtualenvwrapper-win
```Make Virtual Envoirnment as I named it `venv`
```
mkvirtualenv venv
```
Open Virtual Envoirnment as```bash
workon venv
```> Development Server started at `localhost:8000`
#
`Development Documentations`
**Install Django in Virtual Envoirnment**
## `Installation`
Run this command to install `virtual wrapper` which will allows you to make virtual envoirnment
```
pip install virtualenvwrapper-win
```Make Virtual Envoirnment as name `venv`
```
mkvirtualenv venv
```Open the Command Prompt in Project Directory as
F:\Users\Ujjawal\Coding\Developement> `workon venv````
workon venv
```Install `Django` in Virtual Envoirnment as
(venv) F:\Users\Ujjawal\Coding\Developement>pip install django
```
pip install django
```Run this to Check `django-admin` Available Subcommands:
```
django-admin
```Now, Create Django-Project by using django-admin subcommands
as `django-admin startproject` (projectName)
```
django-admin startproject project
```Then Change you directory inside the folder name `project`
## `Setup files and folders`
Now, create django app as `python manage.py startapp` (appName)
```
python manage.py startapp backend
```Add this folder `backend` in `setting.py` file of our `project` file inside INSTALLED_APPS
```python
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'backend', # Added here
]
```Now, Add Static files and urls in same file as (static file created by us to store all static webpage contents)
`import os`
```python
STATIC_URL = '/static/'
MEDIA_URL = '/images/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR,'static')
]
```Now, open `urls.py` file of `project` folder
Add urls of `backend` file as
`import include` from `django.urls`
```python
urlpatterns = [
path('admin/', admin.site.urls),
path('',include('backend.urls')), # Added here
]
```
### urls.py
Create `urls.py` file in `backend` folder
```python
from django.urls import path
from . import views
```> path will be use to make `urlpatterns`
> importing `views` from the same directory so we use ( . )Now, create `urlpatterns` from routing from one path to other as
```python
from django.urls import URLPattern, path
from . import views
urlpatterns = [
path('', views.home, name ='home'),
]
```
`path('address', function defined on views , name)`
### Templates
Create a folder name `templates` in `backend` directory
Inside this folder, we will store all `html` file/templates#### index.html
create a sample index.html file to display with your django development server as
```html
{% load static %}
Document
Hello Ujjawal Singh
```
### Static
Create a folder name `static` in `backend` directory
Inside this folder, we will store all `css` `js` `img` and other files#### css
Create folder as `css` in `static` directory and then create `style.css` file in `css` directory and write all css components there
and add this link in `head` tag of `index.html` as
```html```
>Must add `{% load static %}` on `html` file to include the external `static` directory
### views.py
define function in your views as
```python
from django.shortcuts import renderdef home(request):
return render(request, 'templates/index.html')
```
`return render( request , return )`> In this file, we will define our all function and backend logic to render it to the output screen
#
`Project Demonstration`
## `Signup`
![Home Screenshot](./Image/Sign_Up.png)
## `Signin`
![Service Screenshot](./Image/Sign_In.png)## `Home Page`
![Laundry Management System](./Image/Home_Page.png)
![Laundry Management System](./Image/Home_Page_Down.png)## `Laundry Request`
![Laundry Management System](./Image/Request.png)
![Laundry Management System](./Image/Request%20_Fill.png)## `Laundry Request Submission`
![Laundry Management System](./Image/Request_Result.png)## `Laundry Status`
![Laundry Management System](./Image/Status.png)## `Laundry Status Result`
![Laundry Management System](./Image/Status_Result.png)## `About us`
![Laundry Management System](./Image/About_Us.png)## `Admin Signin Page`
![Laundry Management System](./Image/Admin_SignIn.png)## `Admin Home Page`
![Laundry Management System](./Image/Admin_Home_Page.png)---
## Videohttps://user-images.githubusercontent.com/86152228/212467229-277be5ab-031c-4301-9cd8-935bd889a6af.mp4