_ ______ __ ___ ____
/ | / / __ \/ / / | / __ \___ _ _______
/ |/ / / / / / / /| | / / / / _ \ | / / ___/
/ /| / /_/ / /___/ ___ | / /_/ / __/ |/ (__ )
/_/ |_/\____/_____/_/ |_| /_____/\___/|___/____/
This is a website for Nola Devs, an organization made up of New Orleanian Software Developers. It serves as a hub for many other local organizations and meetups.
This application hosts individual group sites, events, and contact information for New Orleans-based Software Development, Tech, Networking, Design... etc. groups.
MVP is currently live at this domain: https://www.noladevs.org/.
The purpose of this app is to be a central hub for for the NOLA dev community
Currently, all events are aggregated from Google Calendars belonging to established groups.
For example: the Below C Level is a group that has a Google Calendar. They add upcoming events to their calendar, then once a day from that calendar, we grab all the events that are happening in the next 30 days.
Add an event to your group's calendar and it will be listed on the landing page the next day.
If you have a new group you want to establish, please leave a message on the #general channel in the community Slack or create an issue on the repository for the site. We will respond shortly after.
To contribute please follow the contributing guide.
Install mongodb v7.x.x Community Edition if not already installed locally.
Copy example env to get local up and running.
cp .env.example .env.local
Note: On node >=17, you'll need to replace localhost with 0.0.0.0 (src)
npm i
npm run seed
npm run dev
name | env key | env value |
---|---|---|
Google Calendar API | CAL |
Follow these steps |
Discord Webhook URL | DISCORD |
Apply for Contributor Access if you don't have it already. |
Mapbox Public API Key | PUBLIC_MAPBOX |
Follow these steps |
Cron Secret | CRON_SECERT |
This is an arbitary value, For local testing set and use in Postman or other API testing tool |
mongodb name | DB_NAME |
noladevs |
mongodb URL | MONGODB_URI |
mongodb://localhost:27017 |
Discord Webhook URL | DISCORD_WEBHOOK_URL |
A webhook Channel URL |
Ding Dong Endpoint | PUBLIC_DINGDONG_HOST |
Endpoint handling Ding Dong requests |
Ding Dong Phrase | PUBLIC_DINGDONG_PHRASE |
Used in POSTs to Ding Dong endpoint |
Make sure you have created the above keys with provided values or your own where indicated.
Once you have both created (copy .env.example
) and added to your .env.local
file (or any other equivalent environment variable system), you can actually deploy it. (instructions in hyperlinks)
Instead of just running in the development environment, now the site will be built and then served (which is how it would run on Vercel).
To run the production environment, simply run these commands (and have environment variables populated).
npm i
npm run build
npm run preview
Basic Abridged Guide:
.env.local
as CALENDAR_KEYBasic Abridged Guide:
[!NOTE] if your api key doesn't start with
pk
it isn't the right one