GithubHelp home page GithubHelp logo

nicwn / project-4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from encode-club-solidity-bootcamp-team-6/project-4

0.0 0.0 0.0 1.22 MB

Code repo for week 4 group project

Shell 0.03% JavaScript 1.67% TypeScript 96.78% CSS 0.14% Solidity 1.27% Dockerfile 0.11%

project-4's Introduction

project-4

Code repo for week 4 group project

Added Dockerfile and devcontainer. After reopening in devcontainer, do npm install in /backend

In /frontend, do:

yarn add --dev husky
yarn install

backend

  • Start by running in terminal: npm run start:dev.

frontend

  • Start by running in terminal: yarn start.

NestJS config mode (backend)

This code uses the NestJS config mode to load e.g. EndpointRpcUrl and PRIVATE KEY. Explanations for this mode see: https://github.com/Encode-Club-Solidity-Bootcamp/Lesson-15?tab=readme-ov-file#using-nestjs-configurations-module

The code combines RPC URL and API KEY from .env file for Infura (in this case) to RpcEndpointUrl (see backend > app.service.ts). The classical load form env w/ dotenv is still in the code though.

Syntax info for RpcEndpointUrl from env:

INFURA_RPC_URL="https://sepolia.infura.io/v3/" + INFURA_API_KEY="API-KEY"

project-4's People

Contributors

reverendlovejoy43782 avatar nicwn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.