This project was generated using Nx.
- clone repo
- yarn install
- nx serve
- Add an .env file under
apps/web
- Add
LFG=TRUE
to your .env file. - restart the NX server
- Do the steps above to run the auction site
- Add the address to your auctions to the .env file to override the default auctions:
MPL_AUCTION_PUBKEYS="<auction1-address> <auction2-address> etc..."
- restart the NX server
Run nx g @nrwl/react:app my-app
to generate an application. See the docs for more details.
Note. With Nx you can create multiple applications and libraries in the same workspace.
Run nx g @nrwl/react:lib my-lib
to generate a library.
Libraries are shareable across libraries and applications. They can be imported from @usm/<name-of-your-library>
.
See the docs for more details.
Run nx serve my-app
for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run nx g @nrwl/react:component my-component --project=my-app
to generate a new component.
Run nx build my-app
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run nx test my-app
to execute the unit tests via Jest.
Run nx affected:test
to execute the unit tests affected by a change.
Run ng e2e my-app
to execute the end-to-end tests via Cypress.
Run nx affected:e2e
to execute the end-to-end tests affected by a change.
Run nx dep-graph
to see a diagram of the dependencies of your projects.
Visit the Nx Documentation to learn more.
Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.
Teams using Nx gain the advantage of building full-stack applications with their preferred framework alongside Nxâs advanced code generation and project dependency graph, plus a unified experience for both frontend and backend developers.
Visit Nx Cloud to learn more.