Explore the docs
·
Report Bug
·
Request Feature/Example
This is an example of how to run Helia in a NestJS application.
This demo was created by running the nest new
command to bootstrap a basic project.
A few changes to the default project config were necessary:
- Ensure TypeScript outputs ESM and not CJS
- Please see the helia-typescript example for more information
- Ensure Jest can run TypeScript ESM tests
- Please see the helia-jest-typescript example for more information
https://github.com/ipfs-examples/helia-examples#prerequisites
> npm install
> npm start
Now open your browser at http://localhost:3000
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the dist
folder.
It correctly bundles in production mode and optimizes the build for the best performance.
Runs the Jest unit test suite.
Runs the Jest end-to-end test suite.
This is a NestJS project bootstrapped with nest new $project_name
integrated with helia
.
You can start editing the app by modifying src/main.js
.
To learn more about NestJS, take a look at the following resources:
- NestJS Documentation - learn about NestJS features and API.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the IPFS Project
- Create your Feature Branch (
git checkout -b feature/amazing-feature
) - Commit your Changes (
git commit -a -m 'feat: add some amazing feature'
) - Push to the Branch (
git push origin feature/amazing-feature
) - Open a Pull Request
The IPFS implementation in JavaScript needs your help! There are a few things you can do right now to help out:
Read the Code of Conduct and JavaScript Contributing Guidelines.
- Check out existing issues The issue list has many that are marked as 'help wanted' or 'difficulty:easy' which make great starting points for development, many of which can be tackled with no prior IPFS knowledge
- Look at the Helia Roadmap This are the high priority items being worked on right now
- Perform code reviews More eyes will help a. speed the project along b. ensure quality, and c. reduce possible future bugs
- Add tests. There can never be enough tests