Skip to content

An e-commerce website made with React.js, Redux, Node.js, Express.js, MongoDB, Cloudinary, and The PayPal API.

Notifications You must be signed in to change notification settings

aahmad4/My-Tech-Shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Tech Shop

An e-commerce website made with React.js, Redux, Node.js, Express.js, MongoDB, Cloudinary, and The PayPal API.

Summary

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Setup

A step by step series of examples that tell you how to get a development env running.

Clone

$ git clone https://github.com/aahmad4/My-Tech-Shop

Installation

Use the package manager npm or yarn to install the required packages.

$ npm install
$ cd client
$ npm install

or

$ yarn install
$ cd client
$ yarn install

Usage

Using concurrently, this will run the back-end server and client-side application at the same time. By default, the back-end will run on port 5000 and the React app will be visible in your browser at port 3000.

$ npm run dev

Implementation

In the root directory create a file named .env with the following enviornment variables. For the MongoDB URI, PayPal Client ID, and Cloudinary App Information, simple register an account at the appropriate services and create your credentials there. Once completed, paste the value into this file next to the correct variables.

NODE_ENV = development
PORT = 5000
MONGO_URI =
JWT_SECRET = somethingrandom123
PAYPAL_CLIENT_ID =
CLOUDINARY_CLOUD_NAME =
CLOUDINARY_API_KEY =
CLOUDINARY_API_SECRET =

Built With

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

An e-commerce website made with React.js, Redux, Node.js, Express.js, MongoDB, Cloudinary, and The PayPal API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages