A django web application that allows users to rate other people's software projects.Users can also upload their personal projects and have the audience rate them.
Francis Githae
-
User views all projects posted.
-
User registers for an account.
-
User logs into the account.
-
User updates profile.
-
User uploads a project.
-
User rates selected project based on design, usability and content.
-
User views the average of the rating criteria per project.
The application provides two RESTFUL API endpoints:
GET /api/profile
- Returns all user profiles json format
GET /api/projects
- Returns all projects posted in json format
- Python-Programming language
- Django - Web app framework.
- Django Rest Framework -For API creation
- Postgresql -For the database
- Bootstrap5 -For styling and responsiveness.
-JQuery - Interactivity and AJAX
- Clone the repository
git clone git@github.com:githaefrancis/awwwards-pro.git
- Navigate to the project folder
cd AWWWARDS-PRO
- Create and activate the virtual environment
python3 -m venv virtual
source virtual/bin/ activate
- Install dependencies from the requirements.txt
pip install -r requirements.txt
-
Create database
-
Create .env file
export DB_NAME=<name_of_db>
export DB_USER='db_user'
export DB_PASSWORD='db_password'
export SECRET_KEY='secret_key'
export DEBUG='False'
export DB_HOST='127.0.0.1'
export MODE='dev'
export ALLOWED_HOSTS='.localhost','.heroku.com','.127.0.0.1'
export DISABLE_COLLECTSTATIC=1
cloudinary_api_key=<cloudinary secret key>
cloudinary_secret=<cloudinary secret>
cloud_name=<cloudinary cloud name>
- Load .env
source .env
- Migrate models
python3 manage.py migrate
- Run tests
python3 manage.py test
- Run the app
python3 manage.py runserver
Email: mureithigithae@gmail.com
This project is under the MIT License click here for more information
© 2022 Francis Githae