Skip to content

zamelkev/Full-Stack-Cloud-Developer-Capstone-Final-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full Stack Django Cloud Dev Project

A cloud-hosted web-app for a car dealership's car reviewal platform

This repo contains the code for a Django web application hosted in the IBM Cloud.

Background

I developed the application as part of the final Capstone Project in the 11-course IBM Full Stack Cloud Developer Professional Certificate on EDX. I was provided an initial rudimentary version of the Django application, without any central functionality or templates. The general architecture and idea for the application was provided by Coursera, as well as most of the design and layout. Since the project was peer-reviewed after strict requirements, I didn't spend much time on further improving the front end design or UX, so the site is ugly as hell. I have mainly focused on implementing the functionality and back-end services specified by the course instructors.

Project Requirements

The general idea is to build a website that allows users to select one of Best Car's dealerhips (a fictional company) in the US to view other users' reviews of the dealership's cars, as well as submit their own reviews. The site also needed basic functionality such as a navigation bar and static "about" and "contact" pages. The website had to be built with the Python-Django full stack web development framework and be deployed with Red Hat Openshift/Kubernetes on the IBM Cloud.

Architecture

relational schema

Application architecture model Application architecture

The dealership and review data is located in an IBM Cloudant database, while data about users and cars is in a simple SQLite database. In order to access data from IBM Cloudant, I wrote three IBM Cloud Functions which were accessible through an API.

Each review is analysed by IBM Watson in order to display the review's general sentiment (negative, neutral, positive).

Setup

Clone the project:

  • cd Full\ Stack\ Cloud\ Dev\ Capstone\ Project/server
  • Install the required Python packages: python -m pip install -r requirements.txt

Create a new Django Secret Key

Run the development server:

  • python manage.py createmigrations
  • python manage.py migrate
  • python manage.py runserver

Create a new superuser:

python manage.py createsuperuser Log in via the admin site (just add /admin at the end of the url)

For other EDX learners viewing this repository:

I will be grateful if you could help me to solve the existing issue with the dealers and reviews database. I have followed the guide steps but I haven't got running it favourly. It saids that there is a problem with the generation of the url/json.

And if you're a fellow learner currently working though the IBM Full Stack Capstone Project, and you're looking at my repository because you're stuck with something in your own project, feel free to fork or otherwise make use of anything you find here. However, I would appreciate if you could leave the repo a star in return! ;)

Releases

No releases published

Packages

No packages published

Languages

  • Python 35.4%
  • JavaScript 35.0%
  • HTML 15.1%
  • CSS 12.8%
  • Dockerfile 1.3%
  • Shell 0.4%