Skip to content

dncohen/website

 
 

Repository files navigation

Brand New Congress Website!

This is the project hosting the Brand New Congress

Getting Started for Developers

  1. Install Node
  2. Clone this repository
  3. Run npm install
  4. Run npm run dev
  5. Go to http://localhost:3000
  6. Run npm run lint to make sure your coding style is compliant.

Getting Started for Non Developers

The website has some fancy, javascript filled pages (like the tour), but a lot of the content on the site is just static content. Instead of using a content management system (like Nationbuilder) or a wiki, these static pages are simple markdown templates that exist right here within this very Github repository. Read more about how you can suggest edits and create new pages in the website.

Caveat

Some website pages still live in Nationbuilder until we get everything consolidated. See ./src/server/index.js or the pages that reverse proxy to go.brandnewcongress.org.

External services

The website interacts with some external APIs. Instructions for how to test this stuff in dev are below:

Nationbuilder

The website uses Nationbuilder as its backing CRM. This is where it posts signups to and event data to. To test out code that hits Nationbuilder, you are free to use our development sandbox (the API token for which is in the .env file). You can log in to the admin interface with username eowski@gmail.com and password abc123456.

Mailgun

The website uses Mailgun to send emails. In dev, we use a sandbox account that requires you to be added as a verified recipient. Request permission from @saikat in Slack to test emails.

How to contribute

Read the overview of how to contribute to BNC tech projects

About

Brand New Congress website!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 69.7%
  • JavaScript 30.1%
  • HTML 0.2%