Skip to content

EmireQ/Startup_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Startup Project – Django REST API + React UI This project implements the backend for a Startup Profile management system using Django and Django REST Framework. It exposes REST APIs to create, read, update, and delete startup profiles, and can be connected to a React-based dashboard or used directly via the browsable API/Postman.

Features Django models for storing startup profile data:

Problem statement

Target customers

Product description

Key differentiator

Django REST Framework CRUD endpoints:

GET /api/profiles/ – list all profiles

POST /api/profiles/ – create a new profile

GET /api/profiles// – retrieve a single profile

PUT/PATCH /api/profiles// – update a profile

DELETE /api/profiles// – delete a profile

Django template page for displaying profiles in a clean UI:

GET /api/profiles-view/

Optional React frontend (can be connected via http://localhost:8000/api/profiles/).

Ready for authentication and permission control (DRF permissions).

Tech Stack Python, Django

Django REST Framework

SQLite (development)

React for frontend integration(a basic page designed)

Setup Instructions

Clone the repository: git clone https://github.com/EmireQ/Startup_Project.git cd Startup_Project

Create and activate a virtual environment: python -m venv venv venv\Scripts\activate

Install dependencies: pip install -r requirements.txt

Apply migrations and create a superuser: python manage.py migrate python manage.py createsuperuser

Run the development server: python manage.py runserver Usage Django Admin

URL: http://localhost:8000/admin/

Manage startup profiles through the admin interface.

REST API (browsable)

URL: http://localhost:8000/api/profiles/

Use the Django REST Framework browsable API to test GET/POST/PUT/DELETE.

HTML Profiles View

URL: http://localhost:8000/api/profiles-view/

Displays all profiles with a simple, styled UI and links to Admin and raw API JSON.

Optional React Frontend

React app can call the backend using:

GET/POST http://localhost:8000/api/profiles/

Project Structure (Backend) startup_project/ – main Django project

profiles/ – app containing:

models.py – StartupProfile model

serializers.py – DRF serializer

views.py – API views and HTML view

urls.py – app routes (/api/profiles/, /api/profiles-view/)

templates/profiles_list.html – UI template for profiles

About

A Startup profile page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors