-
Clone the repository:
git clone https://github.com/yourusername/inside-api.git cd inside-api
-
Create a virtual environment:
python -m venv .venv
-
Activate the virtual environment:
-
On Windows:
.\.venv\Scripts\activate
-
On Unix or MacOS:
source .venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py makemigrations python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Open your web browser and navigate to
http://127.0.0.1:8000/admin
to access the Django admin interface.
- Registration:
/auth/registration/
- Login:
/auth/login/
- Get Profile:
/api/profiles/
- Update Profile:
/api/profiles/{id}/
- Patch Profile:
/api/profiles/{id}/
- Create Suggestion:
/api/suggestions/
- Get Suggestion:
/api/suggestions/{id}/
- Save Suggestion:
/api/suggestions/{id}/save/
- Get Saved Suggestions:
/api/suggestions/saved/