Skip to content

Nur-A-Alam1997/design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem Statement:

  • a REST API to create, manage, and share color palettes.
  • API Users will be able to:
  • Browse public color palettes without login
  • Features
    [1] Create color palettes
    [2] publish them to the public or make them private
    [3] Save other’s palettes to favorite

  • A Palette consists of
    [1] 1 to 2 dominant color(s)
    [2] 2 to 4 accent colors(s)
    [3] A name
    [4] private or public state<br>

clone the file:

git clone https://github.com/Nur-A-Alam1997/design.git

  • change to codesign directory

installation:

pip install -r requirement.txt

create database (only ones if it is not there in codesign folder):

python setup.py

build:

python app.py

HTTP Response Codes

Each response will be returned with one of the following HTTP status codes:

  • 200 OK The request was successful
  • 400 Bad Request There was a problem with the request (security, malformed, data validation, etc.)
  • 401 Unauthorized The supplied API credentials are invalid
  • 403 Forbidden The credentials provided do not have permission to access the requested resource
  • 404 Not found An attempt was made to access a resource that does not exist in the API
  • 405 Method not allowed The resource being accessed doesn't support the method specified (GET, POST, etc.).
  • 500 Server Error An error on the server occurred

Predefined User Data to access Protected route:

{
    "admin": "1234",
    "user1": "1234",
    "user2": "1234",
}

Dashboard[]

Bookmark[]

Pallete Resource[]

Pallete[]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published