Truffle AI is a tool helping VC analysts find early stage tech companies by collecting traces founders leave on the internet. This repository contains the frontend application for it, which was built using Next.js.
npm install # installs necessary packages
npm run prepare # installs precommit hook that runs eslint & prettier
npm run dev # starts dev server
Open http://localhost:3000 in your browser to see the result.
Please have a look at the coding guidelines for this project before starting to code.
Starts the application in development mode (with hot-code reloading, error reporting, etc.).
Compiles the application for production deployment.
Starts the application in production mode. Run build
to compile it first.
Automatically generates types and hooks for new GraphQL queries you create.
Analyzes the code in the src/ folder and gives a list of all problems (errors and warnings).
Same as lint
but provides additional information for debugging.
Same as lint
but automatically fixes problems that can be solved easily.
Installs a precommit hook that runs eslint & prettier before every commit.
Analyzes all files in the root directory (and its subfolders) and gives a list of formatting issues that don't follow the rules described in the prettier configuration.
Same as prettier:check
but automatically fixes problems.
Removes redundant import statements of react
in components.
Create .env.local in the root directory with the variables given in .env.local.example
To learn more about Next.js, take a look at the following resources: