MP
mpessini/wall-backend
WALL APP - BACKEND
Frontend Link
About
In this project, users can create a new account, sign in or enter as a visitor. Users can create a post on a wall if they are logged, or just read the posts, if they aren't.
This project was built using Django, Django Rest Framework and JWT.
Installation
To run this application, open the terminal in any directory of your choice and run the commands below:
- Clone the project
git clone git@github.com:mpessini/wall-backend.git- Enter in project directory
cd wall-backend- Create a virtual environment
python3 -m venv env- Active the virtual environment
- Linux/MacOs
source env/bin/activate- Windows
env\Scripts\activate- Install project requirements
pip install -r requirements.txt- Create your environment file using
.env.exampleas an example
- The
.env.exemplewas configured to send email only on console, if you want to send real emails, changeEMAIL_BACKENDvalue todjango.core.mail.backends.smtp.EmailBackend
- Create project migrations
python manage.py makemigrationspython manage.py migrate- Run the project
python manage.py runserverTests
- To run tests, you need to run the command below
python manage.py testContacts
Thank you TSL
- This was my first time using Django, I enjoyed learning about this technology.
