Giter Site home page Giter Site logo

validate-digitalpublicgoods's Introduction

License: GPL v3 Contributor Covenant

Validate Digital Public Goods App

The Digital Public Goods Alliance is now crowdsourcing reviews of digital public goods! We’re asking you to participate by reviewing open source projects against the Digital Public Goods Standard with the ultimate goal of determining if a project qualifies as a Digital Public Good.

💡 Motivation

Open source represents an unprecedented opportunity to fundamentally alter power balances in international development. But, we can’t harness that power without the cooperation of many - reviewers, maintainers, creators, policy makers, and so many others (that means you! 👊).

This community sourcing exercise will give you the opportunity to delve into some of the largest up and coming open source projects. You’ll get a chance to understand their licenses and documentation, and how they’re designing for best practices, standards, privacy and more.

By participating, you’ll get a better understanding of open projects that are making a difference in the world, particularly those that are advancing practical solutions to help achieve the Sustainable Development Goals (SDGs). You’ll also join a growing number of innovators working on technology for development (T4D).

🎮 App

The app is live at https://validate.digitalpublicgoods.net for anyone to contribute!

💻 Development Environment

1. Clone the repository and install dependencies

git clone https://github.com/lacabra/validate-digitalpublicgoods.git
cd validate-digitalpublicgoods
npm i

2. Configure your local environment

  1. Copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):

    cp .env.local.example .env.local
    
  2. Clone unicef/publicgoods-candidates to your personal account and set the following variables in .env.local:

    NEXT_PUBLIC_GITHUB_OWNER="YOUR_GITHUB_USERNAME"
    NEXT_PUBLIC_GITHUB_REPO=publicgoods-candidates
    NEXT_PUBLIC_GITHUB_MAIN=master
    
  3. Create your GitHub OAuth App, with the following values:

    and set the following variables in .env.local:

    GITHUB_ID=
    GITHUB_SECRET=
    

3. Start the application

To run your site locally, use:

npm run dev

To run it it production mode, use:

npm build
npm start

4. Configuring for production

You must set the NEXTAUTH_URL environment variable with the URL of your site, before deploying to production.

e.g. NEXTAUTH_URL=https://example.com

To do this in on Vercel, you can use the Vercel project dashboard or the now env command:

now env add NEXTAUTH_URL production

Be sure to also set environment variables for the Client ID and Client Secret values for all your authentication providers.

📝 License

This software is licensed under the MIT License:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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.