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 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

6 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors