Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tharunkumarreddypolu/graduate-market-place

An online Marketplace for Graduates, Undergraduates and Postgraduates which serves as a common platform to sell and buy.
https://github.com/tharunkumarreddypolu/graduate-market-place

django html javascript python sqlite3 tailwindcss

Last synced: 2 days ago
JSON representation

An online Marketplace for Graduates, Undergraduates and Postgraduates which serves as a common platform to sell and buy.

Awesome Lists containing this project

README

        

## Hello! Good to see you here...πŸ‘‹
# Welcome to the `Graduate Market Place` πŸ›’πŸ€πŸ»
✏️ An online marketplace designed and developed for students which serve as a common platform to sell and buy used/new products.

✏️ One Stop solution for e-Exchange of products within a student(Graduates, Undergraduates and Postgraduates) community.

✏️ Here you can post the product you want to sell or look for products you wanted to buy from other fellow students.

πŸ“Œ Tech Stack used: Python, HTML, CSS, JavaScript, TailwindCSS, Django, SQL Database

### If you're an open-source developer/enthusiast, Feel free to Contribute πŸ˜πŸ›  Be it code or non-code πŸ˜‰

## How to get started with Graduate Market Place
### User Flow:

![User Flow](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place/blob/main/gmp_env/Demo/User-Flow.gif)

### Admin Flow:

![Admin Flow](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place/blob/main/gmp_env/Demo/Admin-Flow.gif)

## Steps to followπŸ“ƒ
## Contents

[1. Fork the project πŸ”ͺ](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#1-fork-the-project-)

[2. Clone the forked repository πŸ“₯](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#2-clone-the-forked-repository-)

[3. Let's setup it upπŸ”§βš™οΈ](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#3-lets-set-it-up-%EF%B8%8F)

[4. Keep in sync always♻️ (best practice🀝🏻) ](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#4-keep-in-sync-always%EF%B8%8F-best-practice)

[5. Ready for the contribution 🌝](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#5-woohoo-you-are-ready-for-the-first-contribution-)

[6. Working with the project πŸ§‘β€πŸ’»πŸ‘©β€πŸ’»](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#6-working-with-the-project-)

[7. Create a new branch 🌱](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place#7-create-a-new-branch-)

### 1. Fork the project πŸ”ͺ

[Fork Button](https://github.com/TharunKumarReddyPolu/Graduate-Market-Place)

> _This creates a copy of the project into repositories of your GitHub account_ πŸ“€

### 2. Clone the forked repository πŸ“₯

You need to clone (download) it to your local machine using the below command in terminal
```bash
$ git clone https://github.com/TharunKumarReddyPolu/Graduate-Market-Place.git
```
> _This creates a local copy of the repository in your local machine_ πŸ“‚

Once you have cloned the `Graduate-Market-Place` repository into your local machine, move➑️ into that folder using the change directory `cd` command on Linux/ Mac/ Windows
```bash
$ cd Graduate-Market-Place
```
### 3. Let's set it up πŸ”§βš™οΈ
Run the following commands to verify that your _local copy_ has a reference to your _forked remote repository_ on Github
```bash
$ git remote -v
```
It should display the below output
```
origin https://github.com/Your_Username/Graduate-Market-Place.git (fetch)
origin https://github.com/Your_Username/Graduate-Market-Place.git (push)
```

Now, let us add the reference to the original `Graduate-Market-Place` repository using the below command πŸ”™
```bash
$ git remote add upstream https://github.com/TharunKumarReddyPolu/Graduate-Market-Place.git
```
> _The above command creates a new remote as `upstream`_

To Verify the changes run the below command
```bash
$ git remote -v
```
Output in console β˜‘οΈ:
```
origin https://github.com/Your_Username/Graduate-Market-Place.git (fetch)
origin https://github.com/Your_Username/Graduate-Market-Place.git (push)
upstream https://github.com/TharunKumarReddyPolu/Graduate-Market-Place.git (fetch)
upstream https://github.com/TharunKumarReddyPolu/Graduate-Market-Place.git (push)
```
### 4. Keep in sync always♻️ (best practice🀝🏻)
It is a better practice to keep the `local copy` in sync with the `original repository` and to stay updated with the latest changes. Run the below commands before making changes or in regular intervals to stay updated with the `base` branch

```
# Fetch all remote repositories and delete any deleted remote branches
$ git fetch --all --prune

# Switch to the master branch
$ git checkout master

# Reset the local master branch to match the upstream repository's master branch
$ git reset --hard upstream/master

# Push changes to your forked Tweety-Virtual-Voice-Assistant repo
$ git push origin master
```

### 5. Woohoo! You are ready for the first contribution 🌝
Once you are done with the above steps, you are ready to contribute to the `Graduate-Market-Place` project code. Add `new features` or Check out the `issues` tab of the `original repository` and solve them. Once you are done with your changes, submit your precious efforts with a `pull request`.

### 6. Working with the project πŸ§‘β€πŸ’»πŸ‘©β€πŸ’»

To get started with the project setup, run the following commands:
```bash
# navigate to the virtual environment "gmp_env"
cd gmp_env

# activate the python virtual environment. Careful, S in Scripts is upper case
.\Scripts\activate

# navigate to the project directory "gmp"
cd gmp

# To install the required packages for the project. run the below command
pip install -r requirements.txt
```
> _If any package installation is not specified above, then those packages are built-in with python._

```
# Here's the main fun part, running the server
python manage.py runserver
```
If you encounter the below error after running the above command:
```
python : The term 'python' is not recognized
as the name of a cmdlet, function, script
file, or operable program. Check the spelling
of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ python manage.py runserver
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound:
(python:String) [], CommandNotFoundExcept
ion
+ FullyQualifiedErrorId : CommandNotFoundE
xception
```
Then change `python` to `python3` and re-run the command. This should solve the issue for you.😁

If the latest version of the packages is not working on your machine, then you can downgrade the version using the below commands
```bash
$ pip uninstall package_name
$ pip install package_name==specific version
```
For instance, If `Pillow` package latest version isn't working on your local machine, then do
```bash
$ pip uninstall Pillow
$ pip install Pillow==9.3.0
```
where `Pillow` refers to `package_name` and `9.3.0` refers to `previous version`/`specific version`

Hurray!🀩 you have the website up and running on your local host and ready for your development.

To deactivate the virtual environment before you logoff from development, run the below command
```bash
$ deactivate
```

### 7. Create a new branch 🌱
Whenever you are going to submit a contribution. Please create a separate branch using the below command and keep your `master` branch clean (i.e. synced with the remote branch)
#### Method 1:
```bash
$ git branch Changetype_name
```
change type includes `bug fix`, `new feature`, `comments`, `enhancements` etc.

the name includes your `first name` or `last name`

After creating the branch above, run the below command to checkout/switch to the new branch created
```bash
$ git checkout changetype_name
```
#### Method 2:
You can also create the branch and checkout to the desired branch using the single command below
```bash
$ git checkout -b changetype_name
```

To add your changes to the branch. Run the below command βž•οΈ
```bash
$ git add .
```
> _Above command uses `period (.)` indicating all the files are added (or)
> to stage specific file changes, use the below command instead_

```bash
$ git add
```

Then, Type in a message that is relevant for the code reviewer using the below command βœ‰οΈ
```bash
$ git commit -m 'relevant message'
```

Finally, Push your awesome hard work to your remote repository with the below command πŸ“€πŸ€πŸ»
```bash
$ git push -u origin changetype_name
```
Here, `changetype_name` refers to the branch in your remote repository

In the last, Navigate to your forked `Graduate-Market-Place` repository in the browser, where you will see `compare and pull requests`. Kindly click and then add a relevant `title` and `description` to your pull request that defines your valuable effort. πŸ₯³βœ…️

### Latest Updates πŸ“’
> _Yet to be published_

## Help us improve the project better πŸ“ˆπŸ€—

Please discuss your concerns with [Polu Tharun Kumar Reddy](https://www.linkedin.com/in/polu-tharun-kumar-reddy/) before creating a new issue. πŸ˜‰

_Please `STAR`⭐️ the repository if you like the content and code_**😁

_Also enable the `WATCH`πŸ‘ button to keep watching the updates on the repository_**πŸ˜‰

πŸ’―πŸ’»πŸ§‘β€πŸ’»πŸ‘©β€πŸ’» Happy Contributing πŸ‘©β€πŸ’»πŸ§‘β€πŸ’»πŸ’»πŸ’―

![Graduate Market Place-1](https://user-images.githubusercontent.com/62342666/219262630-102401eb-3082-48bc-bafd-fc045d4d6c1f.png)