This project was created to create a medium / large React and Graphql project π
Β· View Demo Β· View Graphql Playground
This project was created to create a medium / large React and Graphql project π
Airbnb | Which is often a reasonable approach to JavaScript |
React Js | A JavaScript library for building user interfaces |
Graphql | A query language for your API |
Commitlint | Send commit messages to conventional commits rules |
Styled Components | Use the best bits of ES6 and CSS to style your apps without stress |
Editorconfig | Helps maintain consistent coding styles for my working on the same project across various editors and IDEs |
Eslint | Find and fix problems in your JavaScript code |
Prettier | An opinionated code formatter |
- Clone this repository
git clone https://github.com/yasinatesim/react-product-list.git
- Add
.env
file in the client folder
REACT_APP_API_URL='http://localhost:4000'
- Change the directory
cd react-product-list
- Install the project dependencies
yarn install
- Change the
client
directory
cd client
- Install the
client
dependencies
yarn install
- Start the
client
yarn start
-
Open the new terminal window
-
Change the
server
directory
cd ../server
- Install the
server
dependencies
yarn install
- Start the
server
yarn start
- Change the directory
cd react-product-list
- Run this command without
yarn
oryarn install
yarn setup
or
yarn && docker-compose up --build
Client is running to http://localhost:3000/
Server is running to http://localhost:4000/