Lercerss / SOEN341W18

Software Process Winter 2018 Group Project - SA3
6 stars 2 forks source link

Implement a database system #24

Closed Lercerss closed 6 years ago

Lercerss commented 6 years ago

Description

Select a database system and implement it by intregating it into Django's model.

Tasks

  1. Evaluate different database systems and select the most appropriate.
  2. Install necessary software.
  3. Create a simple webpage that displays sample data from the database.

Acceptance Test

  1. Open page which displays data from the database.
  2. Notice that a connection to the database is established and data is displayed correctly.
alvyn279 commented 6 years ago

I personally think that the installed sqlite3 on our Django application is sufficient for our usage. With all the information of the database stored in one file, it will be easier for the team members to obtain an updated database by the simple command of git pull .

Steps to implement this task:

  1. Add an application to the Django project
  2. makemigrations and migrate
  3. Create one sample table (class) through models.py
  4. Create administrator (superuser) for app so that the database can be viewed as a UI at url/admin
Lercerss commented 6 years ago

SQLite

Pros

Lercerss commented 6 years ago

PostgreSQL/MySQL

Pros

Lercerss commented 6 years ago

MongoDB

Pros

Lercerss commented 6 years ago

Implemented SQLite3.