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
.envfile 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
clientdirectory
cd client- Install the
clientdependencies
yarn install- Start the
client
yarn start-
Open the new terminal window
-
Change the
serverdirectory
cd ../server- Install the
serverdependencies
yarn install- Start the
server
yarn start- Change the directory
cd react-product-list- Run this command without
yarnoryarn install
yarn setupor
yarn && docker-compose up --buildClient is running to http://localhost:3000/
Server is running to http://localhost:4000/