Skip to content

youngtech-bergen/web

Repository files navigation

YoungTech Bergen 👨‍💻

👉 Get Started

Install dependencies

yarn

Run the development server

yarn next

When the above command completes you'll be able to view your website at http://localhost:3000.

To use serverless functions at /api, run a now server:

now dev

To use a local database for mocking events, install MongoDB:

brew tap mongodb/brew

# use the latest version
brew install mongodb-community@4.2
brew services start mongodb-community@4.2

There's some environment variables that need to be set, (@arnemolland is working on default dev environments, use local/own environments until then):

mailchimp_list_id=(MAILCHIMP AUDIENCE LIST ID)
mailchimp_api_key=(MAILCHIMP API KEY)
mongo_uri_dev=mongodb://localhost/test

On your local MongoDB instance, you can import mock data from mock.json:

mongoimport --db test --collection events --file mock.json

🥞 Stack

This project uses the following libraries and services:

About

🚀 Website for YoungTech Bergen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published