A website and API created with Django and Django Rest Framework
- Clone the repository
git clone https://github.com/SabrinaFZ/wordplease-django
- Create environment
virtualenv env
- Activate environment
source env/scripts/activate
- Install requirements
pip install -R requirements.txt
- Create Database
python manage.py migrate
- Create super user to access admin
python manage.py createsuperuser
- Run the server
python manage.py runserver
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 |
- Go to the Wordplease API documentation
Sabrina Fernandez Zambrano