The repository contains JSON placeholder models, allowing for CRUD of said model and the ability to add your own data. The steps to deploy it are detailed below.
- Create a virtual environment:
python3 -m venv .env
- Activate the environment:
source .env/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Create tables:
python3 manage.py migrate
- Run the server:
python3 manage.py runserver
- Instead of
python3
, use justpython
- To activate the virtual environment:
.env\scripts\activate
- /posts
- /comments
- /albums
- /photos
- /todos
- /users