Skip to content

felixsuarez0727/test_web_bookmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation steps:

  1. Create the virtual environment and activate it.
virtualenv mypython
source mypython/bin/activate
  1. Install the dependencies from "requirements.txt":
pip install -r requirements.txt
  1. Migrate the database.
python3 manage.py migrate
  1. Start the server.
python3 manage.py runserver 0.0.0.0:8000

Endpoint Description

You should be able to access the endpoints:

  1. GET / --> To get all the bookmarks saved in the DB.
  2. GET /<id>/ --> To retrive specific bookmark.
  3. POST / --> To create the bookmark.
  4. PUT /<id>/ To update the bookmark of the given id.
  5. Delete /<id>/ --> To delete the bookmark for the given ID.

Testing

Execute test.sh .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published