A prototype of an e-commerce site selling game products.
This project was developed using React, TypeScript, Node.js, Express and Apollo GraphQL.
This project inspired from @folab's Game Drill design.
Get the live version without installation in here.
Make sure you have Node.js installed on your system.
If you haven't cloned this repository to your local machine yet, clone it first with fetch options (HTTPS, SSH, GitHub CLI).
If you have already cloned, you can skip to Installation & Running steps.
Clone this repository
Open your terminal and clone this repository to your local with the HTTPS option.
$ git clone https://github.com/ilhanozkan/game-store.git
1 - Create environment variables file
Create a file named .env
under the backend
folder.
Example .env file:
PORT=5000
APOLLO_PORT=4000
REST_API_URL=http://localhost:5000
2 - Install dependencies
Navigate to the frontend folder in terminal.
cd game-store/backend
Run installation command in terminal.
npm i
3 - Start the backend
Start the backend in development.
npm start
1 - Create environment variables file
Create a file named .env.local
under the frontend
folder.
Example .env.local file:
REACT_APP_API_URL=http://localhost:4000
REACT_APP_REST_API_URL=http://localhost:5000
2 - Install dependencies
Navigate to the frontend folder in terminal.
cd game-store/frontend
Run installation command in terminal.
npm i
3 - Start the frontend
Start the frontend in development.
npm start
MIT License
Copyright (c) 2022 Ilhan Ozkan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.