This project is a template for backend engineers to showcase their skills and projects through a REST API. Built with best practices, and Django Rest Framework, and integrated with PostgreSQL/Sqlite for robust data management.
-
Clone the repository:
git clone https://github.com/Ayobami6/portfolio_api.git
-
Navigate to the project directory:
cd portfolio_api
-
Create a virtual environment:
python -m venv venv
-
Activate the environment and Install Dependencies
source ./venv/bin/activate pip install -r requirements.txt
-
Connect your postgresql database or use default sqlite
# .env DB_NAME="" DB_USER="" DB_HOST="" DB_PASSWORD="" REDIS_URL="" MACHINE="local" # optional to use for postgres or not for sqlite
-
Make migration
# use make make migrate # or python manage.py migrate
-
Start the app
make run # or python manage.py runserver
Visit the admin page to update your portfolio details
You can customize to your liking by adding other creative features, and if you want to make the features available to others, you can submit a pull request.
Contributions are welcome! feel free to submit a pull request or create an issue.
This project is licensed under the MIT License - see the LICENSE.md file for details.