This online application enables users sign up in order to create their own onlines stores, edit posts well as share links with potential customers.
Developed using flask web-framework in python language
- Create an online store
- Share links to products in ones store
- Edit your store
- Provide user authentication and password recovery options
NOTE: To gain access a user needs to sign up.
Alternatively, you can easily get a local copy of this application on your workstation. This guide assumes that you have a working installation of Python 3.4 and pip in your workstation
$ git clone https://github.com/margierain/Andela21-project.git
$ pip install -r requirements.txt
$ python runs.py db init
$python runs.py db migrate
$ python runs.py db upgrade
$ python runs.py runserver
Incase your deploying this online store application the following environment variables have to be set-up.
-
JOKENIA_ADMIN
- The email address of this is system administrator. When the administrator (user with this email) signs up in the registration page, the system will automatically assign them the admin role. -
JOKENIA_MAIL_SENDER
- this is the one how sends users who sign up emails -
SECRET_KEY
- this key generates the tokens generate by the CSRF as well as the authentication send to users who sign up -
JOKENIA_PASSWORD
- this is the password for the Admin
As a new user your required to sign up then check your email for an access token sent by our team to give you access to use the application.Just incase the token expires, you have an option to resend yourself another token.
Once authenticated your gmail gravatar as well as your email address will appear in your user profile pages. A user has options to reset their password as well as email incase they need to.
The create store form gives your option to input the product you want sell, a short and long description of the product. Go ahead, input the price and the picture of the product to increase your advertising appeal.
-
To add a cart functionality, so that when a user selects products it can be saved to their shopping bucket cart
-
Add a payment option so that actual purchase of goods can happen
-
Send emails to interested customer on new products added to ones store
-
Analysis user preferences so that user have a customized experience
-
Placing orders for goods that a customer, would want to purchase but has not seen it in any store.
This is a practice web application that enabled me to put my skills on the runways as a learning process. You can finally view it ok heroku