Giter VIP home page Giter VIP logo

shopspot's Introduction

Shop Spot

An online store for the local shops near you

Shop Spot lists the local bussiness owners near you and lists their services and products. You can either buy them online if they support delivery or you can view the sales prices and choose the best shop.

Setting up Shop Spot is very easy.

Want to Use?

This branch is under development right now. It is in early stages so there is no specific release for you to use.

Building

It is best to use the python virtualenv tool to build locally:

> virtualenv venv
> source venv/bin/activate
> git clone https://github.com/oriefy/shopspot .

Then you navigate to the base directory of the project and install the requirements in your virtual environment

> cd shopspot
> pip install -Ur requirements/local.txt

And finally you make migrations to the database, create a super user, and run the server

> python manage.py makemigrations
> python manage.py migrate
> python manage.py loaddata accounts/fixtures/initial.json
> python manage.py runserver

Then visit http://localhost:8000 to view the app. Visit http://localhost:8000/admin to login to admin with username: [email protected] password: oriefy123

> foreman start

Hall of fame

Everyone who contributes to ShopSpot gets a spot here.

shopspot's People

Contributors

mkaras93 avatar paulolimac avatar shahzaibdilawar avatar zerocoolhacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shopspot's Issues

create a home page

Coming soon or a nice webpage telling about the project would be fine

Create a Custom User Model

Create a custom django user model that has

  • Email as default username field
  • Has is_seller and is_buyer flag

User Api

Create Api layer for user model

'registration' module does not exist

Description

(First time contrib here, please don't bite.)
Module 'registration' does not exist (yet) but is already included in settings.py and shopspot/shopspot/urls.py. Makes it impossible to use manage.py and test stuff.

Steps to Reproduce

  1. Clone the repo
  2. Run in terminal 'python manage.py makemigrations' or 'python manage.py runserver'
  3. You will get an error 'module "registration" does not exist.'.

Expected behavior:
'registration' module should be already included in the repo, otherwise it shouldn't be referred to in other files.

Actual behavior:

Reproduces how often:
100%

Versions

Python 3.6.6
Django 2.1.2

Additional Information:

Seems like a partially implemented registration feature.

Email Authentication of User

Description

Currently when the user is created it is active by default.

Expected behavior:
Upon signing up, a code should be sent to his email that should be valid for a time period and if he enters that code before that period then his account should become active otherwise he would remain inactive and have to re generate the code in case of expiry.

Change User Model

Description

Currently we have boolean fields for is_seller and is_buyer
There needs to be a seperate model for that

Add User Django Model Admin

Description

Add a Proper Django Admin view for the User model.
You can search user by first_name, last_name and email
list view presents necessary information
you can filter users based on user_types i.e is_staff, is_admin, is_buyer, is_seller

Add Permissions to User

Currently the user has all permissions set to True by default
Add the default permissions to the User as are provided by the django.contrib.auth.User Model.
We would have to add the permission mixin maybe make some adjustments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.