Code Monkey home page Code Monkey logo

philipbdev / forget-me-not-apothecary---client Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.06 MB

(Front End) - Complete MERN stack store that allows you to add items to a cart, checkout through PayPal Sandbox's mock payment processor, and log in to get discounted prices.

Home Page: https://forget-me-not-apothecary.netlify.app/

License: MIT License

HTML 2.62% JavaScript 97.38%
react mongodb mern redux express node nodejs paypal-sandbox ssl fullstack

forget-me-not-apothecary---client's Introduction

Forget-Me-Not Apothecary - Client

View Server Repository

Due to the server running on a free tier of Heroku, please allow roughly 30 seconds for the website to display properly.


View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Roadmap
  4. License
  5. Contact
  6. Resources

About The Project

This fullstack application features a functional store environment that allows you to create an account and place an order through PayPal Sandbox (you will need a PayPal Sandbox account as well or the transaction will not go through). After completing the transaction, the website will take you to an order confirmed page then redirect you back to the home page with an empty cart.

Users can add items to cart, adjust the cart as needed (which automatically updates the subtotal), go through the mock PayPal process, and upon completion of the order they will be directed to an order confirmed page that will automatically redirect the user back to the home page.

The user system is in place to see if I could make all prices discounted upon logging in to mimic a membership-oriented store. All prices get set to 10% lower (plus 1 cent to make it nicer to look at) upon registration or logging in.

Trying to figure out how to connect Redux and Paypal Sandbox together was the most challenging part since I knew nothing about them going in. To be honest, I'd need a refresher if I were to use Redux again, but I've got the gist of it so it'll be much easier to figure out next time. Another issue I faced was figuring out how to make the front end talk to the back end from Netlify to Heroku, which involved purchasing a domain name and routing both through Cloudflare.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Installation

  1. Clone the repo

    git clone https://github.com/PhilipBDev/Forget-Me-Not-Apothecary---Client.git
  2. Install NPM packages

    npm install
  3. Create an ENV file with the following attributes:

     NODE_ENV='development'

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Your Name - @PhilipBDev - [email protected]

Project Link: https://github.com/PhilipBDev/Forget-Me-Not-Apothecary---Client

Resources

forget-me-not-apothecary---client's People

Contributors

philipbdev avatar

Watchers

 avatar

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.