Skip to content

The application allows users to post their projects by describing what the project is about, the title, the technologies used and a screen shot of the subject. Moreover, viewers can review the project and also give a rating.

License

Notifications You must be signed in to change notification settings

kiptoo-rotich/Awards

Repository files navigation

AWARDS

Screenshot

Landing page

home page

Profile

profile

Reviews

reviews

Search results

search

Description

The application allows users to post their projects by descripting what the project is about, the title, the technologies used and a screen shot of the subject. Moreover, viewers can review the project and also give a rating.

As a user of the web application you will be able to:

  1. Sign up and log in
  2. Post projects
  3. View posted projects
  4. Rate a project
  5. Edit your profile
  6. Consume API
  7. Review project

Setup and installations

  • Clone Project to your machine
  • Activate a virtual environment on terminal: source virtual/bin/activate
  • Install all the requirements found in requirements file.
  • On your terminal run python3.8 manage.py runserver
  • Access the live site using the local host provided
  • Create your superuser account python manage.py createsuperuser inside virtual environment.
  • Add data from admin dashboard

End points

https://awards27.herokuapp.com/api/projects/

Getting started

Prerequisites

  • python3.8
  • virtual environment
  • pip
  • postgresql

Clone the Repo and rename it to suit your needs.

git clone `https://github.com/kiptoo-rotich/Awards`

Initialize git and add the remote repository

git init
git remote add origin <your-repository-url>

Create and activate the virtual environment

python3.8 -m virtualenv virtual
source virtual/bin/activate

Setting up environment variables

Create a .env file and paste paste the following filling where appropriate:

SECRET_KEY = 'your secret key'
DEBUG=True
DB_NAME='gallery'
DB_USER='<your database name>'
DB_PASSWORD='<password to your database>'
DB_HOST='127.0.0.1'
MODE='dev'
ALLOWED_HOSTS='*'
DISABLE_COLLECTSTATIC=1

Install dependancies

Install dependancies that will create an environment for the app to run pip install -r requirements.txt

Make and run migrations

python3.8 manage.py check
python manage.py makemigrations news
python3.8 manage.py sqlmigrate news 0001
python3.8 manage.py migrate

Run the app

python3.8 manage.py runserver

Open localhost:8000

Testing the Application

python manage.py test projects

Built With

  • Python3.8
  • Django==3.2.5
  • Postgresql
  • Boostrap
  • HTML
  • CSS

License

  • LICENSED UNDER License: MIT

About

The application allows users to post their projects by describing what the project is about, the title, the technologies used and a screen shot of the subject. Moreover, viewers can review the project and also give a rating.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published