GithubHelp home page GithubHelp logo

viveckh / veniqa Goto Github PK

View Code? Open in Web Editor NEW
1.1K 33.0 279.0 99.32 MB

MEVN Full Stack E-Commerce Solution. Built using MEVN Stack (Node.js, Express.js, Vue.js, MongoDB) with Developer Friendliness and Cloud Integrations in mind. Previously Powered the Veniqa New York Startup. 100% Customizable. For Demos and Documentation, Visit Official Website

Home Page: https://www.veniqa.com

License: MIT License

Dockerfile 0.16% JavaScript 45.39% CSS 1.22% HTML 11.61% Vue 40.47% Shell 0.12% Pug 0.07% SCSS 0.97%
e-commerce ecommerce-framework ecommerce-shopping-solution ecommerce-platform ecommerce-application ecommerce-store mevn mevn-stack startup-code startups

veniqa's People

Contributors

dependabot[bot] avatar gfyre avatar smaharj1 avatar viveckh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

veniqa's Issues

Featured Images spacing

Featured section designs with multiple products need some bottom margin/padding between each product in phone view, otherwise, they are getting stacked on top of each other without any space.

Remove separate instances of Axios

There seems to be multiple of instances of Axios like

import axios from 'axios'

Remove it. You should only be using axios through the plugin.
If you are in store,

import Vue from 'vue';

// While using,
Vue.prototype.$axios({})

While in Vue Components,

this.$axios({})

CORS + Sockets for Authentication

Describe the bug
While running the entire stack, post filling up the values in.evn.development file, the whole stack loaded up, however, when an attempt is made to log into the admin dashboard, there is a CORS restriction. Please refer to the screenshot below.

To Reproduce
Steps to reproduce the behavior:

  1. docker-compose up
  2. Navigate to http://localhost:5202/
  3. login with any credentials
  4. take a look at the console logs

Expected behavior
No POST errors

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2020-04-20 at 6 37 51 PM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Google Chrome
  • Version: Latest

Additional context
What are the default admin credentials and how do you set new ones? I went into mongodb and created a new document following the schema from https://github.com/Viveckh/Veniqa/blob/develop/management-server/database/models/user.js#L6 here.

Please assist. Thanks.

BUG - Management Web-Client Glitch

Describe the bug
The Management Web Client session expires whilst one is using the app. I know that after I find the "Orders" or "Featured Posts" windows are blank. Upon refreshing the page, all I get to see in one option in the Nav. Please refer to the screenshot attached.

To Reproduce
Steps to reproduce the behavior:

  1. Go to "localhost:5202"
  2. Log in with SUPERADMIN credentials
  3. Try editing a product or adding a new one or do anything on the platform
  4. All of a sudden, your session will expire.

Expected behavior
The session should not expire whilst a user is doing something. It should expire if the window has been ideal for sometime.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2020-05-08 at 12 30 28 PM

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome
  • Version: Latest Stable

BUG: Issue with Safari not passing cookie/session info

Describe the bug
Platform sort of crashes when using on iOS web browsers. Checked on Safari, Chrome, Google App, Cake and Opera Touch

To Reproduce
Steps to reproduce the behavior:

  1. Go to shop.veniqa.com
  2. Login or Sign Up
  3. Try adding a product to cart (at this point, nothing will happen)
  4. Refresh the page (at this point, you will be logged out)

Expected behavior
It should work normally how it does on the desktop version.

Smartphone (please complete the following information):

  • Device: iPhone X
  • OS: iOS 13.2
  • Browser Safari, Chrome, Cake, Opera Touch
  • Version Latest Stable

how to debug management-server

Hi, I am new on this.
I would like to debug 'management-server' logs, but not much logs on stdout.
could you please let me know how to print out debug logs to stdout?
I would like to debug what causes errors when login admin to management-server.

BUG: Attribute modal not working properly

Describe the bug
There was a bug with attribute modal in mgmt server not displaying properly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'localhost:5202'
  2. Login
  3. Click on 'Add Catalog'
  4. Click on 'Add Attributes'

Expected behavior
There should be no weird display

Desktop (please complete the following information):

  • Chrome

Additional context
Tied to #98

How to star the whole platform

I am trying to start the shopping server and I keep getting the following error

NODE_ENV=development VENIQA_ENV=development npm run devstart

> [email protected] devstart /Users/username/Desktop/Veniqa/shopping-server
> nodemon --exec babel-node ./bin/www

[nodemon] 1.18.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `babel-node ./bin/www`
fs.js:114
    throw err;
    ^

Error: ENOENT: no such file or directory, open '.env.development'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at Object.<anonymous> (/Users/username/Desktop/Veniqa/shopping-server/config.js:25:43)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at loader (/Users/username/Desktop/Veniqa/shopping-server/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/username/Desktop/Veniqa/shopping-server/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:690:17)

I am quite new to vue and node. Could you please help me out with how to boot up your entire platform?

Thanks.

mgmt-web/fix-lints

Fix the lint errors in management-webclient project.

You can see the lint errors running npm run lint.

Run npm run lint --fix before you start fixing the errors.

3D Secure Card Payment

Describe the bug
Hey guys, help me out here...

I am working on a client project for an Indian company and I got the stack running on my local machine with my own API keys. Everything but the payment seems to be working.

When I attempt to checkout, I get the following error:

completeCheckoutUsingCard Service Error: As per Indian regulations, export transactions require a customer name and address

Now I know what the error means, but why does it show and how would one fix this on your codebase (I just begun working on the client project and this is the first time I am building an E-Commerce site, so please, please help...)(FYI, I am 19 and this is my first client)

Also, I played around a bit with your version of it (over on shop.veniqa.com) and I know for a fact that you are using test API keys (duh) so I tried using a 3D secure Card from one of Stripes Test Cards section such as

4000002760003184 or 4000 0027 6000 3184 and neither work.

I really, really need your help. Please help me.

Thanks.

--

To Reproduce
Steps to reproduce the behavior:

  1. Go to shopping-client facing app
  2. Click on checkout with one of the aforementioned cards
  3. It will say 'payment failed' and then take a look at your console logs
  4. You would then See error

Expected behavior

3D secure window for Two-Factor Authentication should pop up (like a Modal).

I really really hope that you guys would help me out here. Eagerly looking forward to your response!

Category-selected subcategory have same styling

Need to change the styling of category in search page, because currently the category and selected subcategory look the same which creates a confusion when the top subcategory is selected

BUG: sockjs-node issue

Describe the bug
sockjs-node gives ERR_CONNECTION_REFUSED in local build

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'localhost:5202'
  2. Go to Inspect Elements
  3. Go to console

Expected behavior
There should not be a sockjs error

Desktop (please complete the following information):

  • Chrome

Additional context
Tied to #98

3D Secure Payment - Stripe

How come a " 3D Secure" Stripe Test card does not work? It shows the following in console:

POST https://veniqa-client-server-prod.azurewebsites.net/orders/completeCheckoutUsingCard 400 (Bad Request)

Try using card number "4000 0000 0000 3220"

When checking out, the only thing that is asked is the card number, expiry date and CVV. Why isn't the Name of the CardHolder or any of those details asked?

For local development, remove the sendgrid dependency and fallback to nodemailer email using gmail

Is your feature request related to a problem? Please describe.
Currently, if the developer wants to register a new admin account, it doesn't let it do that because sendgrid API keys are needed. Remove this dependency for local, and switch to using an identical emailService which uses Nodemailer (Gmail option preferred) since Nodemailer is free. Maybe feature flag this property

Describe the solution you'd like
Be able to create users without email hassles for local development

Additional context
Add any other context or screenshots about the feature request here.

Unable to Delete a category

How do I delete a category or a sub category of a product?

When I try to click on "edit" and just erase the names out, I see the following in my console

Screenshot 2020-05-08 at 12 40 55 PM

From this I understand that I cannot leave the text boxes blank.

Introduce new Featured architecture

Introduce a new featured architecture so that multiple designs with multiple products in each can be stored.

"content": [
		{
			"products": ["5c3f4336964e82002b2cfcaf"],
			"config": {
				"design_type": "stripe"
			}
		},
		{
			"products": ["5c3f4336964e82002b2cfcaf"],
			"config": {
				"design_type": "stripe",
				"product_limit": 2,
			}
		}
	]

Fix CSS

Fix CSS for header profile dropdown
Fix CSS for tabs in order history.

getting error during installation

Hello
I am trying to install in local but getting error on shopping-server
E:\veniqa\shopping-server\node_modules\winston-mongodb\lib\winston-mongodb.js:55
throw new Error('You should provide db to log to.');
Screenshot is here : http://prntscr.com/sqm6ad
Please guide

how to setup admin accounts

Hi, this artifact is pretty nice work!. I tried to run this, but wonders how to set up admin accounts?
I tracked the source code and it might be around on mongodb collections. but not sure how what exact schema is.
Please give some hints on documentations

Left side Header menu

Integrate the new Sidebar for the header when in mobile view and appears on hamburger click

External Links - Footer

Now that we have an official facebook and instagram page, so lets add them to footer. Also, maybe need to make the footer slightly different in terms of styling so it doesn't look exactly like a part of the rest of the page.

client-web/fix-lint

Fix linting errors. Find out the errors that are currently there by running npm run lint.

Try npm run lint --fix first to save some work

New order does not show in admin dashboard

Describe the bug

When a new order is placed, it does not show up in the Admin dashboard.

To Reproduce
Steps to reproduce the behavior:

  1. Place a new order
  2. Sign into dashboard
  3. The new order does not show

Expected behavior

The order must show on the dashboard and I should be able to filter between the condition of the order. As in, completed orders should be separated from pending orders.

Additional context

I logged in with [email protected] and password was pass$12 on my local system. I accidentally deleted the super admin accounts (oops!)

However, I am able to make changes to the featured section of the homepage through the aforementioned credentials.

BUG

Describe the bug
Product not removed from cart after order has been placed. The "Order Details" displays some HTML code.

To Reproduce
Steps to reproduce the behavior:

  1. Go to shopping-webclient (shop.veniqa.com)
  2. Select any product and checkout
  3. Post a successful checkout, the product is still shown in the cart

Expected behaviour
Post a successful checkout, the product should not be present in the cart

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The platform doesn't function well on Safari. Post logging in, a user is not able to add products to the cart and existing/past orders can't be sent. Please refer to the screenshots.

Orders won't show on Safari
Screenshot 2020-05-03 at 12 24 26 PM

The same account on Chrome

Screenshot 2020-05-03 at 12 28 32 PM

Product is present in cart even after the order is placed.

Screenshot 2020-05-03 at 12 25 35 PM

HTML code shown in "Order Details"

Screenshot 2020-05-03 at 12 29 34 PM

Cheers!

mgmt-server/JOI-validation

Implement JOI validation in management-server. Add validation to each endpoint that is accepting the request body.

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.