Skip to content

Submissions for Assignment2 #7

@KenanBek

Description

@KenanBek

This assignment is based on DevHub. Please check repository before starting with this assignment.

As a task, you need to implement basic functionality for Django 2 project. Video describing all the details:

Video explaining Assignment2

Shortly,

  1. you need to fork this repository
  2. then in assignments/assignment2/solutions create a new folder associated with your username. Example: assignments/assignment2/solutions/kenanbek
  3. as a base version copy assignments/assignment2/devhub-0.1.0 to this directory
  4. start with the implementation of the following tasks

Tasks for Assignment2:

  1. Introduce Django backend and frontend (separate from React frontend)
  2. Introduce database model classes
  3. User register model (via Django frontend)
  4. User login model (via Django frontend)
  5. Setup Docker environment for Django project with Postgres database

In the example folder (assignments/assignment2/solutions/kenanbek) you can find a solution for the first task. Video explaining the solution:

Exact steps to start with the assignment:

cd assignments/assignment2
cp -R devhub-0.1.0 solutions/<YOUR-GITHUB-USERNAME>
cd solutions/<YOUR-GITHUB-USERNAME>
virtualenv venv -p python3
source ./venv/bin/activate
python src/manage.py makemigrations
python src/manage.py migrate
python src/manage.py runserver

These tutorials can be helpful:

  1. Django Web Framework: How to Setup Django 2.1 and Python 3 Example Project Structure with GitHub
  2. Introduction & Custom User Model
  3. Setup URLs, templates and HTML views for Account application

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions