First install these 3 libraries:
github.com/gorilla/mux
github.com/rs/cors
github.com/gocolly/colly
To run the api type: go run api.go
This project uses nano-react-app.
npm start
โ This will spawn a development server with a default port of1234
.npm run build
โ This will output a production build in thedist
directory.
You can use the -p
flag to specify a port for development. To do this, you can either run npm start
with an additional flag:
npm start -- -p 3000
Or edit the start
script directly:
parcel index.html -p 3000