Built with:
- React
- GraphQL
- Apollo
Clone this repository using Git:
git clone https://github.com/howstrongiam/frontend.git
cd frontend
Install dependencies:
npm install
Specify the URL of your GraphQL API server:
# Example
const httpLink = createHttpLink({ uri: 'http://localhost:4000', });
Now, you can start a local web server by running:
npm start
And then open http://localhost:3000 to view it in the browser.
In this project, you can run the following scripts:
npm run dev: Runs the app in the development mode.npm run build: Builds the app for production to thedistfolder.npm run preview: Serves the app's production build.