Code Monkey home page Code Monkey logo

agfzb-cloudappdevelopment_capstone's Introduction

Full Stack Cloud Development Capstone Project

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

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

Background

This Django application was developed as part of the final Capstone Project in the 10-course IBM Full Stack Cloud Developer Professional Certificate on Coursera. This course provides a 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 pretty ugly. 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

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, this application relies on three IBM Cloud Functions which are accessible through an IBM Watson API service.

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

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)

Push to IBM Cloud Foundry:

  • Install the IBM Cloud CLI and the cloud foundry plugin
  • Configure the manifest.yml file
  • ìbmcloud cf push

Special Thanks

Special thanks to Best Website for funding this project!

agfzb-cloudappdevelopment_capstone's People

Contributors

lavskillup avatar shiningbox avatar divitbatra avatar captainfedoraskillup avatar sklup55 avatar upkarlidder avatar ibm-skills-network-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.