Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tharunkumarreddypolu/graduate-market-place
- Owner: TharunKumarReddyPolu
- License: mit
- Created: 2023-02-13T21:47:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T16:07:50.000Z (10 months ago)
- Last Synced: 2024-04-30T17:26:47.693Z (10 months ago)
- Topics: django, html, javascript, python, sqlite3, tailwindcss
- Language: Python
- Homepage:
- Size: 75.4 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 repositoryIn 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)