An an application that allows the users to tweet out messages buitt with Django(DRF) - Python and VueJs - Javascript
- Key Application features
- Send tweet with name and message
- Message limited to 50 characters
- Table showing messages from lastest
- Django
- DRF
- SQLlite
- VueJS
-
Check that python 3 is installed:
-
Clone the favorite-thing repo and cd into it:
git clone https://github.com/tonyguesswho/not-twitter.git
-
Create and activate a virtual enviroment
-
Install dependencies from requirements.txt file:
pip install -r requirements.txt
-
Apply migrations:
cd into the backend folder and run python manage.py migrate
-
Run the application with the command
python manage.py runserver
- Application is available on
http://127.0.0.1:8000/
cd into the backend folder and run
python manage.py test
Request | End Point | Action |
---|---|---|
GET | /api/tweet/ | Get all messages |
POST | /api/tweet/ | Create a new message |
I will appreciate any feedback on this project :)