Skip to content

Naearp777/givers-backend

Repository files navigation

Givers

Givers is a Volunteer Management System developed as a part of college project for VI Semester of Computer Engineering undergraduate program. This repo contains the backend source code for the Volunteer Management system. This was an academic project assigned by the Department of Electronics and Computer Engineering, Pulchowk Campus under the subject Database Management System (DBMS).

Technologies Used

  1. Django for the backend system
  2. Postgres for the database server
  3. HTML, CSS for template mail

Usage

Install necessary requirements

You need to have python as well as pip installed in your system to run this project. Postgres also need to be explicitly installed and configured as per your convinience. To install python dependencies, follow the following steps.

Create a virtual environment

python -m venv venv

Activate the environment

.\venv\Scripts\activate

Install python dependencies

pip install -r requirements.txt

Make changes to the database

To migrate the necessary changes to the newly created database run the following command.

python manage.py migrate

First Time setup

During the first time setup, the superadmin user should be created.

python manage.py createsuperuser

Run Backend Server

Now the schema of various tables are setup in your newly created database. You can now run the database server using the following command.

python manage.py runserver

This will run a development server in localhost on port 8000. The development server will not be accessible on the LAN just now.

Email Notifications

In order to send users notifications via E-mail.

First you need to create App password

  • Go to settings/security/app password from your Gmail settings

Change the following Values in settings.py.

EMAIL_HOST_USER='YOUR_EMAIL'
EMAIL_HOST_PASSWORD='YOUR_EMAIL_APPPASSWORD'

Project Members

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published