kewne / geeksessions.io

website repo

Home Page:https://geeksessionsio.geeksessions.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geek Sessions website

This repos is used to hold the geek sessions website

Building and running on localhost

First install dependencies:

npm install

To create a production build:

npm run build

To run in development

Install Now CLI

npm install -g now

To test with your own google calendar, you need to follow these steps:

  1. Register a project on https://code.google.com/apis/console
  2. Generate a Simple API Access key
  3. Ensure Calendar API is activated under services.
  4. Your test calendar must be public (on calendar settings)

On a .env file, add the following keys from Google Calendar API

GOOGLE_CALENDAR_ID=<id_of_your_calendar_available_on_calendar_settings>
GOOGLE_CALENDAR_API_KEY=<simple_key_generated_on_google_projects_console>
API_HOST=<the_address_where_the_api_is_running_by_default_http://localhost:3000>

Next, run now in development mode

now dev

Open a browser on localhost:3000

Serverless functions will be available e.g. localhost:3000/api/<yourserverlessfunctionname>

About

website repo

https://geeksessionsio.geeksessions.now.sh


Languages

Language:JavaScript 100.0%