This is a backend part of a Full Stack application.
Link to application frontend:
- Frontnd with
React
: post-on-the-wall/frontend/react
Link to another backend option to this application:
- Backend with
Node.js
: post-on-the-wall/backend/node
one option excludes the other
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.
For the development of this API was chosen Django
, Django Rest Framework
and SQLite
. Together, these technologies provide ...
Django
Django Rest Framework
SQLite
These instructions will provide you a complete copy of the project up and running on your local machine for development purposes.
- Clone the repository:
git clone git@github.com:marcelo-mls/post-on-the-wall-backend-drf.git
- Enter the repository folder you just cloned:
cd post-on-the-wall-backend-drf
- Install the dependencies and start the project:
pip install ...
django ...
You can test the API with softwares like Insomnia
, Postman
or Thunder Client
- 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.
- GET:
'/posts'
lists all posts. - POST:
'/posts'
create a new post. Auth token required. - DELETE:
'/posts/:id'
delete a user. Auth token required.
2023-03-22.12-16-12.online-video-cutter.com.mp4
2023-03-22.12-19-16.online-video-cutter.com.mp4
Developed by Marcelo Marques, © 2023.