forked from cerc-io/snowballtools-base
a34e2286a61cd55829c52a8a9ac420ad9e3a26c4
* 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>
snowballtools
-
Clone the
snowballtoolsrepogit 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/backendcd 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
.envfile present inpackages/frontendREACT_APP_GQL_SERVER_URL = 'http://localhost:8000/graphql' -
Change directory to
packages/frontendcd packages/frontend -
Start the React application
yarn start -
The React application will be running in
http://localhost:3000/
Languages
TypeScript
95.4%
Shell
2.6%
CSS
1%
JavaScript
0.7%
HTML
0.3%