Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗂️ Projects Manger

A simple backend-only web application to showcase "Company Projects" using Django and SQLite3. It provides RESTful APIs to manage and display project data.


Features

  • Django REST API for managing company projects
  • Summary for project descriptions
  • SQLite3 as local development database
  • API root endpoint to list all available API routes

Tech Stack

  • Backend: Python, Django, Django REST Framework
  • Database: SQLite3
  • Other Tools: Git, Postman or cURL for API testing

API Endpoints

Method Endpoint Description
GET / List all available API endpoints
GET /api/projects Retrieve all projects
POST /api/projects/ Create a new project
GET /api/projects/<id>/summary Summary for a project

Steps to Test it on local:

Step 1: Install Python

Download and install the latest version of Python from python.org.

Step 2: Clone the Repository

Open your terminal or PowerShell and run:

git clone https://github.com/aasthasingh9jan/Company-project

or download as zip file then extract it.

Step 3: Set Up a Virtual Environment

install virtual enviornment

# Install virtualenv (if not already installed)
py -m pip install --user virtualenv

# Create a virtual environment
py -m venv env

# Activate the environment
# On Windows:
env\Scripts\activate

# On macOS/Linux:
source env/bin/activate

Step 4: Install Dependencies

Install all required libraries and modules.

pip install -r requirements.txt

Step 5: Migrate the Database

move to the directory where manage.py file is saved (use cd command to change directory) and make migrations to database.

python manage.py makemigrations
python manage.py migrate

Step 6: Run the Development Server

Run Local server

python manage.py runserver

Step 7: Access the App

Now open your browser and enter the url http://127.0.0.1:8000/ or http://localhost:8000/ in your browser to access the app.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages