Skip to content

Product Catalogue Manager, Python, Django Rest Framework, celery

Notifications You must be signed in to change notification settings

maxwellagyapong/UserProductsCatalog_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Product Catalog Management Project

Simple django application with products CRUD and user authentication as main features

Table of contents

General info

Simple django application with products CRUD and user authentication as main features

Technologies

  • Python
  • Django
  • Django Rest Framework
  • Docker
  • PostgreSQL
  • Redis
  • Celery

Setup

Installation on Linux and Mac OS

docker-compose up --build
  • Copy the IP address provided once your server has completed building the site. (It will say something like >> Serving at http://0.0.0.0:8000).
  • Open the address in the browser

Commands

Open docker bash with

docker ps
docker exec -it <CONTAINER_NAME> bash

In our case, default container name is "catalog"

  • To run migrations
python manage.py makemigrations
python manage.py migrate

App Endpoints

  • /api/products - return the list of all saved user products
  • /api/products/int:pk - returns a single user product (put, patch and delete allowed)
  • /api/products/create - add a new product to a user's catalog
  • /api/account/register - register a new user account
  • /api/account/login - login to an existing user account
  • /api/account/logout - user logout
  • /api/account/reset-password - reset user password

API Documentation

https://documenter.getpostman.com/view/20490236/2s9XxzuCTy

About

Product Catalogue Manager, Python, Django Rest Framework, celery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published