Skip to content

marcelo-mls/post-on-the-wall-backend-drf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️⚠️⚠️ Work in Progress... ⚠️⚠️⚠️


Post on the Wall - Backend (Django) python django

This is a backend part of a Full Stack application.


Link to application frontend:


Link to another backend option to this application:

one option excludes the other

Description

This is an application that allows users to register, login and write a post on a wall.

Anonymous users can see all wall posts.

To write a post on the wall, the user needs to login.

Built With

For the development of this API was chosen Django, Django Rest Framework and SQLite. Together, these technologies provide ...

Django

Django Rest Framework

SQLite

How to Install

These instructions will provide you a complete copy of the project up and running on your local machine for development purposes.

  1. Clone the repository:
git clone git@github.com:marcelo-mls/post-on-the-wall-backend-drf.git
  1. Enter the repository folder you just cloned:
cd post-on-the-wall-backend-drf
  1. Install the dependencies and start the project:
pip install ...
django ...

Routes

You can test the API with softwares like Insomnia, Postman or Thunder Client

Django Rest Framework Interface

Users:

  • GET: '/user' lists all users.
  • POST: '/auth/user' get a user by email. Auth token required.
  • POST: '/user' create a new user.
  • DELETE: '/user/:id' delete a user.

Posts:

  • GET: '/posts' lists all posts.
  • POST: '/posts' create a new post. Auth token required.
  • DELETE: '/posts/:id' delete a user. Auth token required.

Demonstration

⚠️ To have this view it is necessary to install and run the frontend

  • Guest view

Guest view

  • Login/Signup

2023-03-22.12-16-12.online-video-cutter.com.mp4
  • Authed user view

2023-03-22.12-19-16.online-video-cutter.com.mp4


Developed by Marcelo Marques, © 2023.

About

Post on the wall App. Back-end only. With Django Rest Framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages