Skip to content

youngtech-bergen/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

41 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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 [email protected]
brew services start [email protected]

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