mirror of
https://github.com/snowball-tools/snowballtools-base
synced 2024-11-18 08:46:17 +00:00
Nabarun Gogoi
a34e2286a6
* Add mutation to create new domain * Update mutation to create two domains for www and non-www variant * Add gql-client method and frontend to create domain * Display fetched domains in domains tab panel using project id * Fix graphql type for fetching domains --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com> |
||
---|---|---|
.github/workflows | ||
.husky | ||
packages | ||
.gitignore | ||
lerna.json | ||
package.json | ||
README.md | ||
yarn.lock |
snowballtools
-
Clone the
snowballtools
repogit clone git@github.com:snowball-tools/snowballtools-base.git
-
In root of the repo, install depedencies
yarn
-
Build packages
yarn build --ignore frontend
-
Change directory to
packages/backend
cd packages/backend
-
Load fixtures in database
yarn db:load:fixtures
-
Start the server
yarn start
-
Copy the graphQL endpoint from terminal and add the endpoint in the
.env
file present inpackages/frontend
REACT_APP_GQL_SERVER_URL = 'http://localhost:8000/graphql'
-
Change directory to
packages/frontend
cd packages/frontend
-
Start the React application
yarn start
-
The React application will be running in
http://localhost:3000/