Skip to content

An e-commerce application built using JavaScript and a variety of JavaScript frameworks to sell cookies online for an imaginary store or business named "Cookie Stop".

License

Notifications You must be signed in to change notification settings

RaysOfTheSun/cooki-e-commerce

Repository files navigation

About The Project

cooki-e-commerce is a web app built using the power of javascript and web technologies such as react, node and expressJS to sell a variety of cookies for an imaginary business with the name of "Cookie Stop".

Set it Up

In case you want to play around with the project on your own machine, you would have to:

  • Install the latest version of node.js
  • Install the latest version of mongodb
  • Open up a terminal window and navigate to the directory where the project is stored

Once all that is taken care of, follow the steps below to set up the project and have it running.

  1. In your terminal, run npm install to install all of the project's dependencies. This is needed so it would have all the files it'll need to work, run properly and look fancy.
  2. If desired, edit the following files:
    • server.js: In the call to the function listen, change the port number (currently 3000) to a desired port number.
    • webpack.config.js: If you want to change the entry points where webpack will begin checking for dependencies, add or modify the path to the scripts at entry
    • stylesheets: There are various stylesheets found in the src/assets/styles directory. Each stylesheet is named after the component of the application that it is styling. To modify general style rules, make adjustments to the globals stylesheet.
  3. Once all desired edits are compeleted, on your terminal, run npm run-script build to build the webpack bundle used by the project.
  4. Start up the server by running npm start or node server using your terminal.
  5. View the application by navigating to http://localhost:[port number]. Where port number is the value you passed to listen in server.js. Alternatively, it is 3000 by default.

Notes

  • Source code from branches other than masterstill need to be cleaned up.
  • At the making of this project, the current version of Node.js is 8.11.3
  • Big thanks to the creator of the KR Bite Me font.
  • Big thanks to the wonderful people at unsplash for their awesome images!

About

An e-commerce application built using JavaScript and a variety of JavaScript frameworks to sell cookies online for an imaginary store or business named "Cookie Stop".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published