*https://musembiawards.herokuapp.com/api/profile
*https://musembiawards.herokuapp.com/api/projects
This is a Python Django application similar to Awawards; The application will allow a user to post a project he/she has created and get it reviewed by his/her peers. A project can be rated based on 3 different criteria Design, Usability and Content. These criteria can be reviewed on a scale of 1-10 and the average score is taken. As a user, you will be able to: -View posted projects and their details -Post a project to be rated/reviewed -Rate/ review other users' projects -Search for projects -View projects overall score -View your profile page
- Python 3.9
- HTML
- Bootstrap 3
- Heroku
- Postgresql
- Django, Django Rest Framework
Create a .env
file and paste paste the following filling where appropriate:
SECRET_KEY='<Secret_key>'
NAME='awward'
USER='<Username>'
PASSWORD='<password>'
HOST='localhost'
MODE='dev'
DEBUG=True
DISABLE_COLLECTSTATIC=1
Install dependancies that will create an environment for the app to run
pip install -r requirements.txt
In a new terminal, open the postgresql shell with psql
.
CREATE DATABASE awward;
python3.9 manage.py makemigrations && python3.9 manage.py migrate
python3.9 manage.py runserver
Open localhost:8000
MIT
Copyright (c)2022 James Musembi