A webapp aimed for students to share their work through portfolios with peers, in an easy and fun way.
Required Dependancies
- Python 3.7 or above
- Django
pip install Django
- Django REST framework
pip install djangorestframework
- Django CORS Headers
pip install django-cors-headers
- Python Dotenv
pip install python-dotenv
Steps to setup locally
- Install the required dependancies using command terminal.
- Run terminal in the root directory.
- Type
$ cd backend
in the terminal. - Next type
$ py manage.py makemigrations
followed by$ py manage.py createsuperuser
. - Create a new superuser with some dummy name, email and a password (superuser is required for admin access).
- Run the django server using
$ py manage.py runserver
. - Head over to the browser and open the localhost
http://127.0.0.1:8000/admin
. Login with the superuser credentials. - To access the User Registration API, use the address
http://127.0.0.1:8000/api/account/register
. - To access the User Profile API, use
http://127.0.0.1:8000/api/profiles
.