This project uses sourcegraph api's. To Learn more about sourcegraph visit https://about.sourcegraph.com/
Create your own sourcegraph instance.(Details)
Add github repository in this instance.(Details)
Create your own access token for the sourcegraph instance(Details)
Provide the access token of sourcegraph, repository to search in and sourcegraph instance endpoint in '.env' file (as below) and keep it in root directory of the project
ACCESS_TOKEN=<Your sourcegraph access token>
REPOSITORY=<Repository to search in, example: spring-projects/spring-framework>
SOURCEGRAPH_ENDPOINT=<Url where sourcegraph instance is running, example: http://127.0.0.1:7080>
# Install dependencies for server
npm install
# Install dependencies for client
npm run client-install
# Run the client & server with concurrently
npm run dev
# Run the Express server only
npm run server
# Run the React client only
npm run client
# Server runs on http://localhost:5003 and client on http://localhost:3000