Skip to content

SabrinaFZ/wordplease-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordplease

A website and API created with Django and Django Rest Framework

Installation

  1. Clone the repository
git clone https://github.com/SabrinaFZ/wordplease-django
  1. Create environment
virtualenv env
  1. Activate environment
source env/scripts/activate
  1. Install requirements
pip install -R requirements.txt
  1. Create Database
python manage.py migrate
  1. Create super user to access admin
python manage.py createsuperuser
  1. Run the server
python manage.py runserver

Website

URL Description
/home Show all the latests posts
/blogs Show all blogs
/blogs/str:username/ Show all the blogs from an user
/blogs/str:username/int:pk Show details of a post from a blog
/new-post Create a new post
/login Login to the app
/sign-up Create a new user
/logout Logout from the app

API

Author

Sabrina Fernandez Zambrano