GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rachetm-work/cloudsek-blog-service: CloudSEK Assignment

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
deployment
deployment
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Pipfile
Pipfile
 
 
Pipfile.lock
Pipfile.lock
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

cloudsek-blog-service

CloudSEK Assignment

Author: Rachet M

For deployment on docker -

  • Navigate to /deployment/docker/ directory from project root
  • Run bash deploy.sh

NOTE: I have not worked with Kubernetes, so I have not tested deployment on it.

cURL commands -

  • Insertion of blog entries
curl -X POST "http://localhost:8000/api/v1/blog/submit" -H "Content-Type: application/json" -d '{"title": "My First Blog", "content": "This is the content of my first blog.", "user_id": "1"}'

curl -X POST "http://localhost:8000/api/v1/blog/submit" -H "Content-Type: application/json" -d '{"title": "My Second Blog", "content": "This is the content of my second blog.", "user_id": "1"}'
  • Search for blog entries
curl -X GET "http://localhost:8000/api/v1/blog/search?search_term=first"

curl -X GET "http://localhost:8000/api/v1/blog/search?search_term=content"

About

CloudSEK Assignment

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.