bryandms / geek-cart

Shopping cart for geek items :nerd_face:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geek Cart

Shopping cart

Client

Geek Cart Client

Server

Geek Cart Server

Steps

Server

Step 1: Clone or download the repo.

Step 2: Switch to your repository's directory

cd /path/to/your/repo

Step 3: Switch to your server directory

cd server

Step 4: Install dependencies

npm install

Step 5: Duplicate the .env-example file and rename it to .env and change the environment variables

cp .env-example .env

Step 6: Run the server

npm start
Client

Step 7: Open a new terminal in your repository's directory

cd /path/to/your/repo

Step 8: Switch to your client directory

cd client

Step 9: Install dependencies

npm install

Step 10: Change the Apollo Client's uri located inside the client/src/index.js file by the path/url of your server

Step 11: Run the server

Step 12: Run the client

npm start

Note: If you have problems running the client, run the sudo npm start command

Made with by bryandms

About

Shopping cart for geek items :nerd_face:


Languages

Language:JavaScript 90.8%Language:HTML 7.3%Language:CSS 1.9%