TheStore
An online store built on Bootstrap and Angular technologies.
The focus of this project is on developing modular, testable, maintainable, and high quality code intent on delivering fast performance and the best possible user experience.
Follow @the_onlinestore on twitter to stay informed on all commits and other changes.
View the demo website
Install
Either with github
- Fork and clone the project to a "thestore" local folder
- From the "thestore" folder, install build task dependencies with the command: npm install
- From the "thestore" folder, install other dependencies with the command: bower install
Or with npm -
- Get the project to your local machine with the command: npm install thestore
- From the "thestore" folder, install build task dependencies with the command: npm install
- From the "thestore" folder, install dependencies with the command: bower install
The source code can be found in the 'thestore/src' folder. Start a web server in development mode with the command: grunt serve
Any changes made to source code will immediately reload on the web browser. JavaScript changes are automatically validated with jshint.
To create a 'build' folder and run the app with optimized resources ready for publishing, run the following command from the 'thestore' folder: grunt
Next
features in the dev queue for future releases
Move search box to navigation barimplement a non-scrollable footer for the siteimplement SignUp and Login links- Create functional shopping cart page
- Create admin mode, for admin users to add & remove products
add additional properties like categories to products- Redesign home page & product details page to incorporate product categories and shopping cart buttons
Enable i18n and l10 - internationalization and localization - with the angular-translate module
Contributing
Contribute to this project by implementing the features listed above or by adding other features you want to work on. Please follow the development guidelines established for this project.
Create unit tests for all your Javascript code in the folder 'thestore/tests/unit'. From the 'thestore' folder run your unit tests with the command karma start
If you add new UI or modify the existing UI, create e2e tests in the folder 'thestore/tests/e2e'. From the 'thestore' folder, use the following commands to run your e2e tests:
- webdriver-manager start (starts Selenium locally)
- grunt serve (starts the webserver for source code, if not already running)
- protractor (runs the tests)
Make sure your code builds by running the command: grunt