Git Product home page Git Product logo

new_project_template's Introduction

District0x Discord server LICENSE pull requests welcome

District0x project template

This repository contains files, configs, and scripts to quickly get started with development of District0x projects. To start a new project simply use this template repo as shown in this document

Development

This is an open-source project and contributions, be it a new issue or pull request, are always welcome. You can find some good advice on how to get started on github's guide

NodeJS and Clojure

This project has an example Dockerfile that features NodeJS 14, yarn and truffle. There's also a commented out part that handles Clojure and Lein installation. To add clojure support uncomment lines 8 to 14 in docker-builds/base/Dockerfile.

Technical stack

District0x projects usually rely on the following tech

Github Actions CI

There are several CI jobs build with Github Actions, that perform various checks for code in the repository. Job files live under .github/workflows folder. The CI checks for this repository include:

  • Dockerfile linting with Hadolint
  • Docker images build for ui and server with qa and prod settings
  • Docker images and vulnerability scannings with CodeQL and Trivy

Using Makefile and Docker-compose

To facilitate development this repository features Makefile that helps to automate lots of tasks. To list available commands simply run make help. Here's a good tutorial on makefiles https://makefiletutorial.com/. There's also a docker-compose.yml file that ensures necessary services, network and volumes are up and running locally. Please note that for different projects both makefiles and ci jobs may require modifications.

Try running make to see the list of available commands. For example to build docker images for one of the given environments, simply run make build-images.

Try make up or make start-containers to init and start containers for this project. This includes the creation of docker volumes, networks, building docker images, and starting them. To interact with docker-compose directly always add -p develop or set proper PROJECT_NAME. It should be the same as in the Makefile vars section. This project name will serve as sort of a namespace for docker-compose and it will prefix all the resource names that it manages:

docker-compose -p develop ps

It is also possible to build and start a dev image that contains all the necessary tools to build, test, and run the project: make build-dev-image and then make exec.

new_project_template's People

Contributors

sm47916 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

new_project_template's Issues

feature/Arbitrary District

Prize Bounty

PRIZE BOUNTY: A winning hackathon submission may be awarded up to a $3,000 prize for this issue from the initial bounty pool. Particularly well crafted submissions supplied with additional detail in the form of a market-ready idea, a fleshed out product roadmap, and working MVP may be eligible for additional bonuses up to $10,000 for a total of $13,000 in prizes. The prize will be paid in USDC.

Bounties will be paid out at the discretion of the judges exclusively and we reserve the right to not give a bounty payment if we believe the submissions do not meet the criteria or are otherwise unfit for development.

Challenge Description

The challenge is to create an arbitrary district using this repository (https://github.com/district0x/new_project_template) as template. A district can be any Ethereum-based DeFi or marketplace application. The template contains docker set up for Javascript or Clojurescript applications but any language is accepted. The application is expected to contain smart-contract(s), the UI and optionally server-side. Proof of concept or MVP submissions are accepted as valid solutions as well.

Submission Requirements

Submissions are required to make Pull Request into this repository. Pull Request should include brief description about what has been done plus screenshots of relevant UI.

Judging Criteria

district0x team members will any number of winning implementations, that satisfy our requirements the most. Aspects considered during the judgement are: idea, functionality, UI styling and code quality.

Winner Announcement Date

The district0x team will decide on a winning implementation within 7 days of the close of the hackathon. Winners will be announced by 11:59PM PST on Wednesday, July 14th.

Resources

To reach our assistance please join our discord at https://discord.gg/FqWuPSEY

For more information on the district0x project, start with https://onboarding.district0x.io/

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.